Gcc 4.2.4 (also 4.2.3) built for Solaris versions 2.5.1, 8 and 10 does not
handle a command line macro if the definition contains spaces.  This was
discovered while building Ghostscript.  Following is an example.

> gcc -DGX_COLOR_INDEX_TYPE="unsigned long long" test.c
gcc: long: No such file or directory
gcc: long: No such file or directory

Note that the definition is quoted.


-- 
           Summary: Command line macro fails if definition contains spaces
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schulz at adi dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36491

Reply via email to