Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

gcc HEAD 13.0.0 20220725 (experimental)

Options
Warnings
Don't Use Boost
C++2b
-pedantic

$ g++ prog.cc -Wall -Wextra -std=c++2b -pedantic
/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