Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20191210 (experimental)

Options
Warnings
Boost 1.71.0
C++2a(GNU)
no pedantic

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'int main(int, char**)':
prog.cc:109:18: warning: right operand of comma operator has no effect [-Wunused-value]
  109 |     delete j1,j2,m1,m2;
      |                  ^~
prog.cc:109:21: warning: right operand of comma operator has no effect [-Wunused-value]
  109 |     delete j1,j2,m1,m2;
      |                     ^~
prog.cc:109:23: warning: right operand of comma operator has no effect [-Wunused-value]
  109 |     delete j1,j2,m1,m2;
      |                       ^
prog.cc:83:14: warning: unused parameter 'argc' [-Wunused-parameter]
   83 | int main(int argc, char** argv) {
      |          ~~~~^~~~
prog.cc:83:27: warning: unused parameter 'argv' [-Wunused-parameter]
   83 | int main(int argc, char** argv) {
      |                    ~~~~~~~^~~~
Takie same typy
23.15 [K]
-23.15 [K]
56.01 [st. C]
-56.01 [st. C]
Rózne typy
296.3 [st. C]
-217.14 [st. C]
-250 [K]
-23.15 [K]
Exit Code:
0