This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Porting to Fedora gcc 4.0 -parsing backward slash("\") comma(",")


This declaration statement used to work.... it would return 3 arguments to a
macro....

DEFINE_CONST( LINE_TEXT,    // argument 1
\{_TEXT("solid")\,_TEXT("dash")\,_TEXT("doubledash")\,\}, // argument 2
"")â // argument 3

now --- building on Fedora Core 4 with gcc 4.0

the statement breaks each backslash (\) comma (,) into arguments so it now
returns 6 arguments

which becomes a problem because the macro only expects 3 arguments....
any ideas on how to resolve this.
thanks.
--
View this message in context: http://www.nabble.com/Porting-to-Fedora-gcc-4.0--parsing-backward-slash%28%22%5C%22%29-comma%28%22%2C%22%29-t1518915.html#a4123190
Sent from the gcc - Help forum at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]