public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* current CVS <cstdlib> + <stdlib.h> = disaster
@ 2000-12-19  6:03 nbecker
  0 siblings, 0 replies; 2+ messages in thread
From: nbecker @ 2000-12-19  6:03 UTC (permalink / raw)
  To: gcc-bugs, gcc

Bug.cc-------------
#include <stdlib.h>
#include <cstdlib>
--------------------

 /opt/gcc/bin/g++ -v -c Bug.cc -save-temps
Reading specs from /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/specs
Configured with: ../../gcc/configure --prefix=/opt/gcc
gcc version 2.97 20001217 (experimental)
 /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/cpp0 -lang-c++ -D__GNUG__=2 -D__GXX_ABI_VERSION=100 -v -D__GNUC__=2 -D__GNUC_MINOR__=97 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ Bug.cc Bug.ii
GNU CPP version 2.97 20001217 (experimental) (cpplib) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /opt/gcc/include/g++-v3
 /opt/gcc/include
 /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/include
 /opt/gcc/i686-pc-linux-gnu/include
 /usr/include
End of search list.
 /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/cc1plus -fpreprocessed Bug.ii -quiet -dumpbase Bug.cc -version -fnew-abi -o Bug.s
GNU C++ version 2.97 20001217 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.0).
In file included from /usr/include/stdlib.h:25,
                 from Bug.cc:1:
/usr/include/features.h:1:38: warning: header flags for "/usr/include/features.h" have changed
In file included from Bug.cc:1:
/usr/include/stdlib.h:312:35: warning: header flags for "/usr/include/stdlib.h" have changed
In file included from /usr/include/stdlib.h:391,
                 from Bug.cc:1:
/usr/include/sys/types.h:1:38: warning: header flags for "/usr/include/sys/types.h" have changed
In file included from /usr/include/sys/types.h:30,
                 from /usr/include/stdlib.h:391,
                 from Bug.cc:1:
/usr/include/bits/types.h:1:39: warning: header flags for "/usr/include/bits/types.h" have changed
In file included from /usr/include/bits/types.h:165,
                 from /usr/include/sys/types.h:30,
                 from /usr/include/stdlib.h:391,
                 from Bug.cc:1:
/usr/include/bits/pthreadtypes.h:72:46: warning: header flags for "/usr/include/bits/pthreadtypes.h" have changed
In file included from /usr/include/sys/types.h:126,
                 from /usr/include/stdlib.h:391,
                 from Bug.cc:1:
/usr/include/time.h:1:33: warning: header flags for "/usr/include/time.h" have changed
In file included from /usr/include/sys/types.h:206,
                 from /usr/include/stdlib.h:391,
                 from Bug.cc:1:
/usr/include/endian.h:1:35: warning: header flags for "/usr/include/endian.h" have changed
In file included from /usr/include/sys/types.h:209,
                 from /usr/include/stdlib.h:391,
                 from Bug.cc:1:
/usr/include/sys/select.h:1:39: warning: header flags for "/usr/include/sys/select.h" have changed
In file included from /usr/include/stdlib.h:545,
                 from Bug.cc:1:
/usr/include/alloca.h:1:35: warning: header flags for "/usr/include/alloca.h" have changed
In file included from /opt/gcc/include/g++-v3/bits/c++config.h:34,
                 from /opt/gcc/include/g++-v3/bits/std_cstdlib.h:39,
                 from /opt/gcc/include/g++-v3/cstdlib:2,
                 from Bug.cc:2:
/opt/gcc/include/g++-v3/bits/os_defines.h:1:53: warning: header flags for "/opt/gcc/include/g++-v3/bits/os_defines.h" have changed
In file included from /opt/gcc/include/g++-v3/bits/std_cstdlib.h:39,
                 from /opt/gcc/include/g++-v3/cstdlib:2,
                 from Bug.cc:2:
/opt/gcc/include/g++-v3/bits/c++config.h:44:52: warning: header flags for "/opt/gcc/include/g++-v3/bits/c++config.h" have changed
In file included from /opt/gcc/include/g++-v3/cstdlib:2,
                 from Bug.cc:2:
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:35:54: warning: header flags for "/opt/gcc/include/g++-v3/bits/std_cstdlib.h" have changed
In file included from /opt/gcc/include/g++-v3/cstdlib:1,
                 from Bug.cc:2:
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:51: `lldiv_t' not declared
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:102: syntax error before `(' token
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:103: syntax error before `.' token
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:103: syntax error before `.' token
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:106: syntax error before `(' token
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:107: syntax error before `.' token
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:107: syntax error before `.' token
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:109: declaration of `long long int 
   atoll(const char*)' throws different exceptions
/usr/include/stdlib.h:146: than previous declaration `long long int atoll(const 
   char*) throw ()'
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:110: declaration of `long long int 
   strtoll(const char*, char**, int)' throws different exceptions
/usr/include/stdlib.h:188: than previous declaration `long long int 
   strtoll(const char*, char**, int) throw ()'
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:111: declaration of `long long 
   unsigned int strtoull(const char*, char**, int)' throws different exceptions
/usr/include/stdlib.h:193: than previous declaration `long long unsigned int 
   strtoull(const char*, char**, int) throw ()'
/opt/gcc/include/g++-v3/bits/std_cstdlib.h:117: parse error before `}' token
In file included from Bug.cc:2:
/opt/gcc/include/g++-v3/cstdlib:118:42: warning: header flags for "/opt/gcc/include/g++-v3/cstdlib" have changed

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

* Re: current CVS <cstdlib> + <stdlib.h> = disaster
@ 2000-12-19 22:35 Benjamin Kosnik
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Kosnik @ 2000-12-19 22:35 UTC (permalink / raw)
  To: gcc

This was fixed earlier today. See:

http://gcc.gnu.org/ml/libstdc++/2000-12/msg00192.html

-benjamin

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

end of thread, other threads:[~2000-12-19 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-19  6:03 current CVS <cstdlib> + <stdlib.h> = disaster nbecker
2000-12-19 22:35 Benjamin Kosnik

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