Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Question about " (the inch character) in symbol defines....

I am trying to compile an existing C-project
using CDT. The C-project has defines like this:

-DMY_ARRAY="\"ALFA\",\"BETA\""

which is then used in the source like this:

char *my_array[] = {
   MY_ARRAY
};

This does not work because when I try to add symbols containing
quotes (the inch character) in CDT, the quotes are in fact stored
in the xml file as " but removed when the actual command
line is generated.

Any particular reason for this, or is something
that ought to be fixed?

Thanks!
//Fredrik


Back to the top