Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.1 20200119 (experimental)

Options
Warnings
Boost 1.72.0
C++2a
no pedantic

Author

anonymous

almost 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/gcc-head/include -std=c++2a
prog.cc: In function 'int main()':
prog.cc:43:17: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   43 |         while((1>zakres1>zakres2>1000000000)||(zakres2-zakres1>100000))
      |                ~^~~~~~~~
prog.cc:43:33: warning: comparison of constant '1000000000' with boolean expression is always false [-Wbool-compare]
   43 |         while((1>zakres1>zakres2>1000000000)||(zakres2-zakres1>100000))
      |                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
prog.cc:43:25: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   43 |         while((1>zakres1>zakres2>1000000000)||(zakres2-zakres1>100000))
      |                ~~~~~~~~~^~~~~~~~
11
13
17
19
23
29
31
37
Exit Code:
0