Skip to content

Removal of quotes in a -D #4577

@llvmbot

Description

@llvmbot
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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions