Pelles C > FAQ
Compiling a Windows program is very slow...
(1/1)
Pelle:
You can use this sequence to increase the compilation speed:
--- Code: ---
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
--- End code ---
Using WIN32_LEAN_AND_MEAN will prevent several not so common #include files from being included by windows.h, which will increase the speed.
David144:
By default, the compiler only accepts standard C. To compile a Windows program, you need to enable Microsoft extensions in the compiler. In the IDE, go to Project Options and make sure Enable Microsoft Extensions is checked on the Compiler tab. From the command line, make sure you use the /Ze compiler option.
Navigation
[0] Message Index
Go to full version