[Bug c/36491] New: Command line macro fails if definition contains spaces

2008-06-10 Thread schulz at adi dot com
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



[Bug driver/36491] Command line macro fails if definition contains spaces

2008-06-10 Thread schulz at adi dot com


--- Comment #2 from schulz at adi dot com  2008-06-10 20:45 ---
I just checked and it is a shell script.  I should have thought of that.
Sorry for the noise.


-- 

schulz at adi dot com changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||INVALID


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