Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190513 (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:1:2: error: invalid preprocessing directive #hpp
    1 | #hpp
      |  ^~~
prog.cc:2:9: warning: #pragma once in main file
    2 | #pragma once
      |         ^~~~
prog.cc:26:2: error: invalid preprocessing directive #cpp
   26 | #cpp
      |  ^~~
prog.cc:29:10: fatal error: Vec3.hpp: No such file or directory
   29 | #include "Vec3.hpp"
      |          ^~~~~~~~~~
compilation terminated.
Exit Code:
1