------- Comment #3 from Ivan dot Scherbakov at acronis dot com  2007-02-12 
06:03 -------
The way of declaring inline functions as static is evident, but in fact, when
building large projects containing several libraries the case when the same
inline function is defined more than once in different libraries and those
libraries fail in a very strange way when linked together is *very hard* to
diagnose.
The proposal was to include a warning/error message when the ODR rule is
violated, as when multiple definitions of an ordinary function are encountered.


-- 

Ivan dot Scherbakov at acronis dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to