This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: #pragma redefine_extname warnings


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]