-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
Description
| Bugzilla Link | 4205 |
| Resolution | FIXED |
| Resolved on | Feb 22, 2010 12:46 |
| Version | unspecified |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @tkremenek |
Extended Description
My commandline has something like this in it. The double quotes are received by scan-build (I checked by putting an echo prefix).
scan-build gcc .... -DINCLUDE_FILE="file.h" -c main.c
My main source then has:
#include INCLUDE_FILE
Somewhere along the line the quotes get stripped which means the #include gets the bare string and causes clang to (correctly) barf. This used to work up until recently.