public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36491]  New: Command line macro fails if definition contains spaces
@ 2008-06-10 17:46 schulz at adi dot com
  2008-06-10 20:19 ` [Bug driver/36491] " pinskia at gcc dot gnu dot org
  2008-06-10 20:46 ` schulz at adi dot com
  0 siblings, 2 replies; 3+ messages in thread
From: schulz at adi dot com @ 2008-06-10 17:46 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug driver/36491] Command line macro fails if definition contains spaces
  2008-06-10 17:46 [Bug c/36491] New: Command line macro fails if definition contains spaces schulz at adi dot com
@ 2008-06-10 20:19 ` pinskia at gcc dot gnu dot org
  2008-06-10 20:46 ` schulz at adi dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-10 20:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-06-10 20:18 -------
Are you sure that your gcc program is not a shell script that calls the real
gcc program. 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c                           |driver


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug driver/36491] Command line macro fails if definition contains spaces
  2008-06-10 17:46 [Bug c/36491] New: Command line macro fails if definition contains spaces schulz at adi dot com
  2008-06-10 20:19 ` [Bug driver/36491] " pinskia at gcc dot gnu dot org
@ 2008-06-10 20:46 ` schulz at adi dot com
  1 sibling, 0 replies; 3+ messages in thread
From: schulz at adi dot com @ 2008-06-10 20:46 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-10 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-10 17:46 [Bug c/36491] New: Command line macro fails if definition contains spaces schulz at adi dot com
2008-06-10 20:19 ` [Bug driver/36491] " pinskia at gcc dot gnu dot org
2008-06-10 20:46 ` schulz at adi dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).