User forums > Help
mingw suddenly takeing hours to compile 100kb of C++ code?
ouch:
ok thanks for the link.
I tried deleteing the precompiled headers again and noticed something strange... it took 66 mins and 18 seconds to compile the headers (output is around 50mb) AND my project.
I mean wtf... how can it compile 50mb so quickly yet 100kb takes ages with the same settings?
edit: ok found the cause:
-pipe
-mthreads
[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.0.0"))) print(_T("-Wno-attributes"));]]
-Winvalid-pch
-include wx_pch.h
all that was in my other options tab... not sure how all that got in there, I sure didn't add it...
my compile times are now 1min 32sec. what a difference 5 lines make...
Navigation
[0] Message Index
[*] Previous page
Go to full version