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++/44285] Need an option that will create symbols for all public c++ methods, not only for those which bodies are outside the class declaration



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-05-26 15:51 -------
Well in C++, it is an ODR violation if the Translation units don't define
Abc::meth_used and Abc::meth_unused the same.  The linkage on these functions
is called vague.  Exporting them will increase link time in most cases.


-- 


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


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