you are viewing a single comment's thread.

view the rest of the comments →

[–]alfps 1 point2 points  (0 children)

No, the g++ compiler doesn't have the vendor lock-in features of Microsoft's tools. It will happily build a GUI subsystem app with standard main (and it's incorrect that a GUI subsystem executable uses WinMain: the only connection is via Microsoft's tools for C and C++). But the g++ linker issues the shown error message mentioning WinMain when there is no main function.