This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Installation hitch
- To: barney at russell dot ee dot umist dot ac dot uk (Barnaby Pitt)
- Subject: Re: Installation hitch
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 14 Mar 1998 05:13:30 -0300
- Cc: egcs at cygnus dot com
- References: <199803131110.LAA03004@russell.ee.umist.ac.uk>
Barnaby Pitt writes:
> My problem is that I can't seem to link with some of the standard library
> when using -fguiding-decls (which the compiler keeps telling me to use
> when I try to compile code developed under gcc-2.7.2).
Issuing -fguiding-decls causes declarations to be interpreted
differently, and this breaks some standard C++ headers. You'd better
fix your code so that friend declarations that refer to template
functions contain angle brackets after the function name, and that the
template functions are declared before they're referred to.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil