This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-in-cxx] FYI: add extern "C"
- From: Andreas Schwab <schwab at suse dot de>
- To: tromey at redhat dot com
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 06 Oct 2008 17:51:12 +0200
- Subject: Re: [gcc-in-cxx] FYI: add extern "C"
- References: <m3ej2tbuxa.fsf@fleche.redhat.com>
Tom Tromey <tromey@redhat.com> writes:
> I'm checking this in on the gcc-in-cxx branch.
>
> One declaration of progname was not wrapped in 'extern "C"'.
> This patch fixes that.
Why is that needed for progname, but not for have_error?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."