-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Nothing at all happens until i hit ^D, no CPU activity and no disk activity.
Then it depends:
on FreeBSD with gcc 13.3
./calculator.cpp: any input causes errors
./hello_world.cpp: errors
on Cygwin with gcc 15.2 and 16.0 with //usr/bin/env corrected to ///usr/bin/env:
./calculator.cpp: "1 + 1" outputs nothing
./calculator.cpp: "1 + ." errors as expected
./hello_world.cpp: outputs nothing
on Haiku with gcc 13.3 with //usr/bin/env corrected to //bin/env:
./calculator.cpp: any input causes errors
./hello_world.cpp: errors
on Debian 12 WSL1 with gcc 12.2:
./calculator.cpp: any input causes errors
./hello_world.cpp: errors
on SerenityOS with gcc 15.2:
./calculator.cpp: "1 + 1" errored once (I probably made a typo) but now it works.
./hello_world.cpp: Holy crap, it actually works
on Debian 13 with gcc 14.2:
./calculator.cpp: works
./hello_world.cpp: works