public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/47499] New: cpp will not process stdio.h
@ 2011-01-27 22:50 daniel.wilkerson at gmail dot com
  2011-01-28  7:50 ` [Bug preprocessor/47499] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: daniel.wilkerson at gmail dot com @ 2011-01-27 22:50 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: cpp will not process stdio.h
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: daniel.wilkerson@gmail.com


I'm running
  System Version:    Mac OS X 10.6.6 (10J567)
  Kernel Version:    Darwin 10.6.0

$ cat srcloc.test.cc
#include <stdio.h>

$ cpp srcloc.test.cc > /dev/null; echo $?
In file included from /usr/include/stdio.h:444,
                 from srcloc.test.cc:2:
/usr/include/secure/_stdio.h:46: error: syntax error in macro parameter list
/usr/include/secure/_stdio.h:53: error: syntax error in macro parameter list
1

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~89/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)

$ cpp -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~89/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10-
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
 /Developer/usr/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/cc1 -E
-traditional-cpp -quiet -v -I/usr/include -imultilib x86_64 -iprefix
/Developer/usr/bin/../lib/gcc/i686-apple-darwin10/4.2.1/ -D__DYNAMIC__ - -fPIC
-mmacosx-version-min=10.6.6 -m64 -mtune=core2
ignoring nonexistent directory
"/Developer/usr/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../../../i686-apple-darwin10/include"
ignoring nonexistent directory
"/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../../i686-apple-darwin10/include"
ignoring duplicate directory "/usr/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 /Developer/usr/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include
 /usr/local/include
 /usr/lib/gcc/i686-apple-darwin10/4.2.1/include
 /usr/include
 /System/Library/Frameworks (framework directory)
 /Library/Frameworks (framework directory)
End of search list.


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

* [Bug preprocessor/47499] cpp will not process stdio.h
  2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
@ 2011-01-28  7:50 ` pinskia at gcc dot gnu.org
  2011-01-30  1:49 ` daniel.wilkerson at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-01-28  7:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-28 03:47:11 UTC ---
You should have reported this to Apple first:
gcc version 4.2.1 (Apple Inc. build 5664)


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

* [Bug preprocessor/47499] cpp will not process stdio.h
  2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
  2011-01-28  7:50 ` [Bug preprocessor/47499] " pinskia at gcc dot gnu.org
@ 2011-01-30  1:49 ` daniel.wilkerson at gmail dot com
  2011-01-30  2:13 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: daniel.wilkerson at gmail dot com @ 2011-01-30  1:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Daniel S. Wilkerson <daniel.wilkerson at gmail dot com> 2011-01-29 23:27:18 UTC ---
So I have tried this.  Frankly, Apple makes it too hard to report bugs to them
as I have to register as an Apple developer and I'm just not willing to answer
all their stupid questions and I'll bet I have to agree to some legal agreement
as well at the end.

You guys don't have some way of forwarding bugs to the Apple devs?!


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

* [Bug preprocessor/47499] cpp will not process stdio.h
  2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
  2011-01-28  7:50 ` [Bug preprocessor/47499] " pinskia at gcc dot gnu.org
  2011-01-30  1:49 ` daniel.wilkerson at gmail dot com
@ 2011-01-30  2:13 ` redi at gcc dot gnu.org
  2011-01-30  9:22 ` daniel.wilkerson at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-30  2:13 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.01.30 01:23:03
     Ever Confirmed|0                           |1
           Severity|blocker                     |normal

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-30 01:23:03 UTC ---
Nope. Your compiler and C library headers come from Apple, so the bug should be
reported to them.  GCC 4.2 is no longer maintained here anyway, please try to
reproduce it with an official GCC release, 4.3 or later


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

* [Bug preprocessor/47499] cpp will not process stdio.h
  2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
                   ` (2 preceding siblings ...)
  2011-01-30  2:13 ` redi at gcc dot gnu.org
@ 2011-01-30  9:22 ` daniel.wilkerson at gmail dot com
  2011-01-30 14:18 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: daniel.wilkerson at gmail dot com @ 2011-01-30  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

Daniel S. Wilkerson <daniel.wilkerson at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


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

* [Bug preprocessor/47499] cpp will not process stdio.h
  2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
                   ` (3 preceding siblings ...)
  2011-01-30  9:22 ` daniel.wilkerson at gmail dot com
@ 2011-01-30 14:18 ` redi at gcc dot gnu.org
  2011-01-30 14:31 ` redi at gcc dot gnu.org
  2012-01-06  0:22 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-30 14:18 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-30 11:45:00 UTC ---
this is not "blocker" priority, because no bug in the discontinued 4.2 branch
or in Apple's version can possibly block development/testing of gcc. That field
doesn't mean it's a problem for you.


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

* [Bug preprocessor/47499] cpp will not process stdio.h
  2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
                   ` (4 preceding siblings ...)
  2011-01-30 14:18 ` redi at gcc dot gnu.org
@ 2011-01-30 14:31 ` redi at gcc dot gnu.org
  2012-01-06  0:22 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-30 14:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-30 11:48:14 UTC ---
also, there's probably an easy workaround:  instead of cpp use gcc -E


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

* [Bug preprocessor/47499] cpp will not process stdio.h
  2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
                   ` (5 preceding siblings ...)
  2011-01-30 14:31 ` redi at gcc dot gnu.org
@ 2012-01-06  0:22 ` pinskia at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-06  0:22 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-06 00:21:57 UTC ---
No feedback in over 90 days and really this is a bug with Apple's supplied
tools and not the FSF GCC.


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

end of thread, other threads:[~2012-01-06  0:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-27 22:50 [Bug preprocessor/47499] New: cpp will not process stdio.h daniel.wilkerson at gmail dot com
2011-01-28  7:50 ` [Bug preprocessor/47499] " pinskia at gcc dot gnu.org
2011-01-30  1:49 ` daniel.wilkerson at gmail dot com
2011-01-30  2:13 ` redi at gcc dot gnu.org
2011-01-30  9:22 ` daniel.wilkerson at gmail dot com
2011-01-30 14:18 ` redi at gcc dot gnu.org
2011-01-30 14:31 ` redi at gcc dot gnu.org
2012-01-06  0:22 ` pinskia at gcc dot gnu.org

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