This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: #pragma redefine_extname warnings
- From: Richard Henderson <rth at redhat dot com>
- To: Martin Sebor <sebor at roguewave dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Oct 2002 15:46:18 -0700
- Subject: Re: #pragma redefine_extname warnings
- References: <3D9CBCFE.7090503@roguewave.com>
On Thu, Oct 03, 2002 at 03:56:14PM -0600, Martin Sebor wrote:
> extern "C" void foo ();
> #pragma redefine_extname foo bar
>
> t.cpp:3: warning: #pragma redefine_extname conflicts with declaration
Actually, that's a C++ front end bug. It indicates that the
pragma isn't doing what it's supposed to be doing.
r~