Re: [GD-Windows] VS 2003 generating duplicate COMDAT for template instantiation?
Brought to you by:
vexxed72
From: Mat N. (BUNGIE) <Mat...@mi...> - 2007-05-13 17:36:14
|
Let me guess... you had something like this: inline void f() { class foo { public: static void blah() { printf("blah"); } }; foo::blah(); } And then use f() all over the place? There's some standardese about the lin= kage type of function local class static functions. I don't know what it is= , but it manifests as multiple COMDATs that can't be combined if you use th= e inline function in multiple places. MSN -----Original Message----- From: gam...@li... [mailto:gamedevlis= ts-...@li...] On Behalf Of Jon Watte Sent: Sunday, May 13, 2007 8:19 AM To: Game Development for MS Windows Subject: Re: [GD-Windows] VS 2003 generating duplicate COMDAT for template = instantiation? Mat Noguchi (BUNGIE) wrote: > Well, if that's the case... do you have anything that is a function local= static function? I've hit a similar problem when trying to generate a uniq= ue class static function per inline function. No valid workaround either. > > I did, but I removed them (it was actually a static of a function local class). Thanks for the suggestion, though! Cheers, / h+ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |