This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
My new gcc 3.1 uses old header files...
- From: Carlos Rubio Nievas <crubion at cirsa dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 25 Nov 2002 12:30:09 +0100
- Subject: My new gcc 3.1 uses old header files...
- Organization: CIRSA
I have successfully built and installed GCC. I have some compilation errors
that I hadn't with the 2.96 version so now I can't compile my program having
done no changes. Here's the output:
========================================================================
gcc -g -Werror -Werror -I- -I. -I/usr/local/include -I/usr/local/include/SDL
-I/work/development/bola/interface -I/usr/local/include/freetype
-I/work/development/bola/sys -I/work/development/bcs4/sys
-I/work/development/bcs4/tcp -I/work/development/bcs4/core
-I/work/development/utils/video -c ../../sys/TInterface.cc -o
../../sys/TInterface.o
cc1plus: cambiando el orden de búsqueda para el directorio del sistema
"/usr/local/include"
cc1plus: porque ya ha sido especificado cmo un directorio que no es del
sistema
En el fichero incluído de /usr/local/include/g++-v3/backward/list.h:59,
de /work/development/bola/sys/TInterface.h:4,
de ../../sys/TInterface.cc:37:
/usr/local/include/g++-v3/backward/backward_warning.h:32:2: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
Program terminated by SIGKILL
=========================================================================
Here is some information that might be usefull for you to find a solution
for my problem:
> -Output from running srcdir/config.guess.
>
> i686-pc-linux-gnu
>
> -The output of gcc -v for your newly installed gcc.
>
Leyendo especificaciones de
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs
Configurado con: ../configure
Modelo de hilos: single
gcc versión 3.1
>
>
> - Distribution name and version:
> Red Hat Linux release 7.2 (Enigma)
> - The version of the Linux kernel:
> Linux morpheo 2.4.7-10 Thu Sep 17:27:27 EDT 2001 i686 unknown
>
> - The version of glibc I used:
> glibc-2.2.4-13
>
> I hope this is enought information to solve the problem. I'm looking
forward
> to your response. Thanks a lot,
>
> Carlos
>
>