-
Notifications
You must be signed in to change notification settings - Fork 16
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
make ccdep.pl more resilient to compiler warnings #5
Comments
The commit 6e93c43 has made ccdep.pl much more resilient. |
Closing this until it turns out that the |
pts
pushed a commit
that referenced
this issue
Oct 23, 2017
…nown compiler diagnostics; this may be enough to fix #5
This was referenced Feb 12, 2018
This was referenced May 24, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current situation:
./configure ...
runsmake Makedep
, which runsperl -x -S ./ccdep.pl --FAL=assert,no,yes,checker g++
, which runs g++ to analyze the dependencies between .cpp files, and analyzes the error and warning messages printed by g++. Newer versions of g++ (and clang++, which is typically run instead of g++ on macOS) tend to print more warnings, which ccdep.pl doesn't understand, and fails.For example, the most recent message was in #4:
Previous, one-by-one fixes to ccdep.pl can be found by running
git log -p -- ccdep.pl
.Earliest commit for such a fix is cd9eb51.
Ideas how to improve it:
invalid depret
.g++ -E
plusg++ -M -MG
could work, with the former changing#warning
to$warning
, to make it show up in the output of-E
.The text was updated successfully, but these errors were encountered: