public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: rankincj@yahoo.com To: gcc-gnats@gcc.gnu.org Subject: c++/4626: g++ 3.0.1 fails to find "stddef.h" when recompiling templates Date: Fri, 19 Oct 2001 20:06:00 -0000 [thread overview] Message-ID: <20011020030556.7654.qmail@sourceware.cygnus.com> (raw) >Number: 4626 >Category: c++ >Synopsis: g++ 3.0.1 fails to find "stddef.h" when recompiling templates >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: support >Submitter-Id: net >Arrival-Date: Fri Oct 19 20:06:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Chris Rankin >Release: 3.0.1 >Organization: >Environment: i686-pc-linux-gnu >Description: $ g++ -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/specs Configured with: ../gcc-3.0.1/configure --prefix=/usr -enable-version-specific-runtime-libs --with-gnu-binutils --enable-shared --enable-nls Thread model: single gcc version 3.0.1 And then: g++ -ansi -Wl,-s -O3 -fno-implement-inlines -pedantic -pipe -Wall -W -Wshadow -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wsign-compare -Winline -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199506L -D_BSD_SOURCE -D_XOPEN_SOURCE -D__EXTENSIONS__ -DARCH="Linux 2.4.12 i686" -DUSERNAME=chris -DHOSTNAME=twopit -DMAJOR_VERSION="2" -DMINOR_VERSION="1" banner.cpp main.o phonedata.o eventdata.o parser.o header.o footer.o controlfile.o eventfile.o write.o hardcoded.o long2string.o string2long.o datatypes.o destinationtype.o libgnutemplate.a -o genevent collect: recompiling datatypes.cpp In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/bits/std_cstring.h:37, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/cstring:31, from datatypes.cpp:1: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/bits/std_cstddef.h:38:25: stddef.h: No such file or directory In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/bits/std_cstring.h:37, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/cstring:31, from datatypes.cpp:1: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/bits/std_cstddef.h:42: `ptrdiff_t' not declared /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/bits/std_cstddef.h:43: `size_t' not declared In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/bits/fpos.h:39, ... It all goes downhill from there. >How-To-Repeat: >From the Makefile: CXX=g++ -ansi CXXFLAGS=-O3 \ -fno-implement-inlines \ -pedantic \ -pipe \ -Wall -W \ -Wshadow \ -Wwrite-strings \ -Wstrict-prototypes \ -Wmissing-prototypes \ -Wmissing-declarations \ -Wredundant-decls \ -Wsign-compare \ -Winline \ $(CXXDEFINE) \ $(INCLUDE) CXXDEFINE=-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199506L \ -D_BSD_SOURCE -D_XOPEN_SOURCE \ -D__EXTENSIONS__ The code makes heavy use of the STL. The first-pass compilation works fine, but it fails when recompiling the templates. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2001-10-19 20:06 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-10-19 20:06 rankincj [this message] 2001-10-20 20:23 rodrigc 2001-12-02 16:51 rodrigc 2001-12-02 16:56 rodrigc
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=20011020030556.7654.qmail@sourceware.cygnus.com \ --to=rankincj@yahoo.com \ --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: linkBe 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).