Please help me passing a path to preprocessor

jp.guillemin@free.fr jp.guillemin@free.fr
Tue Nov 25 14:10:00 GMT 2003


Hello,

I think my question is a very simple one...

I'm trying to declare a preprocessor constant with -D MYPATH='/usr/local/thepath/'
(from a makefile)

- The constant is found declared by preprocessor
- I get a "Syntax error near `/' token"

Best regards
jp




More information about the Gcc-help mailing list