public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: s_fuhrm@ira.uka.de
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/3293: error in gcc/include/stdio.h parsing??
Date: Wed, 20 Jun 2001 08:16:00 -0000	[thread overview]
Message-ID: <20010620151043.4047.qmail@sourceware.cygnus.com> (raw)

>Number:         3293
>Category:       bootstrap
>Synopsis:       error in gcc/include/stdio.h parsing??
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 20 08:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stephan Fuhrmann
>Release:        gcc-3.0 ??
>Organization:
>Environment:
Suse Linux 6.4, gcc 2.95.3 (same with 2.95.2),
glibc 2.2.2, binutils 2.9.5 (same with 2.11)
>Description:
Build problem: After a normal configure in a separate
directory and "make bootstrap" gcc 3.0 stops with

./xgcc -B./ -B/opt/gcc3/i586-pc-linux-gnu/bin/ -isystem /opt/gcc3/i586-pc-linux-gnu/include  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include  -g0 \
  -finhibit-size-directive -fno-inline-functions \
  -fno-exceptions -fno-omit-frame-pointer  \
  -c ../../gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
In file included from ../../gcc/tsystem.h:63,
                 from ../../gcc/crtstuff.c:60:
include/stdio.h:187: parse error before "__attribute_malloc__"
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/fury/tt/gcc-3.0/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/fury/tt/gcc-3.0/objdir/gcc'

Problem are these lines in include file "gcc/include/stdio.h":

extern char *tempnam (__const char *__dir, __const char *__pfx)
 __THROW __attribute_malloc__;

if I delete the blank line and write this as one single
line everything works perfectly!!!!
>How-To-Repeat:
configure
make bootstrap ;-))

don't know on which tool this depends
>Fix:
Substitute

extern char *tempnam (__const char *__dir, __const char *__pfx)
 __THROW __attribute_malloc__;

with

extern char *tempnam (__const char *__dir, __const char *__pfx) __THROW __attribute_malloc__;

(delete the newline)
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-06-20  8:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20  8:16 s_fuhrm [this message]
2002-11-25  5:56 bangerth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010620151043.4047.qmail@sourceware.cygnus.com \
    --to=s_fuhrm@ira.uka.de \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).