Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.1 20190424 (experimental)

Options
Warnings
Optimization
Don't Use Boost
C++2a
no pedantic
Raw compiler options
-pedantic -pthread

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=c++2a -pedantic -pthread
prog.cc:2:62: warning: character constant too long for its type
    2 | ./src/od-fs/bsdsocket_posix.cpp:1260:20: error: assigning to 'uae_u32' (aka 'unsigned int') from incompatible
      |                                                              ^~~~~~~~~
prog.cc:2:77: warning: character constant too long for its type
    2 | ./src/od-fs/bsdsocket_posix.cpp:1260:20: error: assigning to 'uae_u32' (aka 'unsigned int') from incompatible
      |                                                                             ^~~~~~~~~~~~~~
prog.cc:3:12: warning: character constant too long for its type
    3 |       type '__bind<int &, sockaddr *, int &>'
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cc:1:1: error: 'In' does not name a type
    1 | In file included from src/od-fs/bsdsocket_host.cpp:5:
      | ^~
Exit Code:
1