Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190501 (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:48:29: warning: missing terminating ' character
   48 | decided to pastebin it as it's a kinda long explanation
      |                             ^
prog.cc:48:29: error: missing terminating ' character
   48 | decided to pastebin it as it's a kinda long explanation
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cc:49:11: warning: character constant too long for its type
   49 | and I didn't think it'd go well posting into IRC.
      |           ^~~~~~~~~~~~~
prog.cc:1:1: error: 'Take' does not name a type
    1 | Take a simple function of the form
      | ^~~~
prog.cc:6:1: error: 'This' does not name a type
    6 | This function just iterates over the range, applying
      | ^~~~
prog.cc:12:1: error: 'which' does not name a type
   12 | which just squares each argument passed,
      | ^~~~~
prog.cc:14:1: error: 'the' does not name a type
   14 | the compiler will generate the function
      | ^~~
Exit Code:
1