I just add -mwindows
to linker flags.
I believe the compiler switch for that is -Wl,-subsystem,windows
.
The -Wl,<options>
switch passes <options>
to the linker. The -subsystem
switch tells the linker which system to target when generating the executable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With