-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error with PCH compilation #108
Comments
I have seen PCH issues with MinGW-w64 for as long as I can remember, so I usually avoid precompiled headers. See also for example these bug reports: |
I want to ammend an interesting finding. I can successfully compile PCH using gcc 12.2 Rev1 provided by MSYS2, either used in MSY2 terminal or bare CMD window. But 12.2 Rev2 has the same old behavior. That's very strange. |
The MSYS2 team applies two patches of their own in order to fix PCH support issues on mingw-based host platforms:
Although they still build GCC with the Footnotes
|
When I try to make a wxWidgets program, I get an unexpected fatal error (which I did not have before):
I am using
gcc version 12.1.0 (MinGW-W64 i686-posix-dwarf, built by Brecht Sanders)
.I can confirm that
gcc version 8.1.0 (i686-win32-sjlj-rev0, Built by MinGW-W64 project)
can compile pch.h without any problems.The text was updated successfully, but these errors were encountered: