Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

C++

Compiler

gcc HEAD 12.0.1 20220216 (experimental)

Options
Warnings
Don't Use Boost
C++2b(GNU)
no pedantic

Author

anonymous

over 3 years ago

$ g++ prog.cc -Wall -Wextra -std=gnu++2b
/usr/bin/ld: /lib/x86_64-linux-gnu/crt1.o: in function `_start':
(.text+0x24): undefined reference to `main'
collect2: error: ld returned 1 exit status
Exit Code:
1