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]

[Bug c++/45594] g++ incorrectly treats inline function redefinition



------- Comment #6 from justchecking8964 at gmail dot com  2010-09-08 11:00 -------
> Your inline functions are extern, not static.  Make them static and it
> will work.
> 

I see, thanks, I missed the part of the new standard that defines inline as
being implicitly extern. There's something new to learn every day.

Sorry for the bother.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45594


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