This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[Fwd: [ddd-users] egcs-2.93.22]
- To: egcs at egcs dot cygnus dot com
- Subject: [Fwd: [ddd-users] egcs-2.93.22]
- From: Edward C Morgan <ecmorgan at lucent dot com>
- Date: Wed, 02 Jun 1999 13:54:57 -0400
- Organization: 53885100
Could you tell me what changed for -fexternal-templates from egcs-1.1.2 to egcs 2.93.22.
Andreas Zeller wrote:
> Hi!
>
> Edward C Morgan <ecmorgan@lucent.com> writes:
>
> > I've downloaded and installed egcs compiler (egcs-2.93.22) dated
> > 19990517 for the sparc-sun-solaris2.5.1 and started to make ddd
> > version 3.1.5. Seems like they aren't supporting the
> > -fexternal-templates option like before in egcs 1.1.2 (NOTE: ddd
> > compiles fine with egcs 1.1.2):
> >
> > Here's what it does during compilation (w/o Xlib.h warnings):
> > ==> Making all in ./ddd...
> > [...]
> > c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -Wno-uninitialized -fexternal-templates -felide-constructors -fconserve-space -trigraphs -c -I. -I. -I./.. -I/opt/GBxpm/include -I/usr/dt/include -I/usr/openwin/include -o ddd.o ddd.C
> > cc1plus: warning: -fexternal-templates is deprecated.
> > cc1plus: warning: Please see the documentation for details.
>
> This warning can be ignored; the day egcs no longer supports
> `-fexternal-templates', this will be noted by DDD's `configure'
> script. However, I'd like to know what the new EGCS documentation
> says about this. Can you send me the relevant files?
>
> > In file included from /usr/openwin/include/X11/Intrinsic.h:30,
> > from ddd.h:39,
> > from ddd.C:137:
> > ddd.C:755: initialization to `void *' from `const char *' discards qualifiers
> > [...]
>
> The enclosed patch should fix this problem. Please compile with
> `make -k' and let me know about further problems you find.
>
> Greetings,
>
> Andreas
>
>
> --
> Andreas Zeller Universitaet Passau, Germany
> http://www.fmi.uni-passau.de/st/staff/zeller/
--
=========================================
Edward C. Morgan
Email: ecmorgan@lucent.com
=========================================