ci: Windows latest boost build fix#734
Merged
eyal0 merged 2 commits intopcb2gcode:masterfrom Dec 15, 2025
Merged
Conversation
Contributor
|
The |
timaydin
pushed a commit
to timaydin/pcb2gcode
that referenced
this pull request
Jan 27, 2026
ci: Windows latest boost build fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows is a very specific platform for build. This time boost lookup script was failed to find headers installed from msys2 repository. There were two possible solutions: use '--with-boost /mingw64' or add one more 'standard' location to find. The last was implemented.
Next thing is a replacement of
-Ito-isystemhere and there to avoid false positive warnings inside 3rd party libraries. Unfortunately this replacement affects the way how#include_nextdirective works (again, on Windows):Preprocessor failed to find
/mingw64/include/stdlib.h. I've found the only way to fix this: do not replace-Ito-isystemfor 'standard' boost path.