This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36491] New: Command line macro fails if definition contains spaces
- From: "schulz at adi dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2008 17:45:22 -0000
- Subject: [Bug c/36491] New: Command line macro fails if definition contains spaces
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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