#Is this a compiler bug in MinGW?
6 messages · Page 1 of 1 (latest)
When your question is answered use !solved or the button below to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
It's almost definitely due to that. It doesn't look like gcc will automatically add a return for wmain the same way it does for standard main. https://godbolt.org/z/94oc7bczb
yes, when placing return 0 it suddenly now works
definitely a mingw bug