Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.0 20190120 (experimental)

Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic
Raw compiler options
-E -fdirectives-only

Author

anonymous

over 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a -E -fdirectives-only
prog.cc:2:2: error: invalid preprocessing directive #Invalid
    2 | #Invalid
      |  ^~~~~~~
Exit Code:
1