Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190527 (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:32: error: too many decimal points in number
    1 | cmake_minimum_required(VERSION 2.8.11 FATAL_ERROR)
      |                                ^~~~~~
prog.cc:1:23: error: expected constructor, destructor, or type conversion before '(' token
    1 | cmake_minimum_required(VERSION 2.8.11 FATAL_ERROR)
      |                       ^
prog.cc:10:1: error: expected unqualified-id before ')' token
   10 | )
      | ^
prog.cc:16:1: error: expected unqualified-id before ')' token
   16 | )
      | ^
Exit Code:
1