Re: VS 2003 generating duplicate COMDAT for template instantiation?

"Mat Noguchi (BUNGIE)" <[email protected]> Tue, 15 May 2007 22:41:30 -0700
Newsgroups gmane.games.devel.windows
Message-ID <4AAE6D312A2DC64CBEEA550C4417B08B112121071B@NA-EXMSG-C109.redmond.corp.microsoft.com>
What is SAS?

And it's likely that there's some edge cases you're hitting if you hit multiple COMDAT errors :) Not that that helps.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jon Watte
Sent: Monday, May 14, 2007 10:30 AM
To: Game Development for MS Windows
Subject: Re: [GD-Windows] VS 2003 generating duplicate COMDAT for template instantiation?

Right, but that's not the problem at this point. I get a very similar
error, though. No statics involved this time.

Cheers,

          / h+

PS: Why is it that the goal in question (getting SAS bound to our data
model) is never the real problem; the real problem is always something
stupid? No, don't answer :-)



Mat Noguchi (BUNGIE) wrote:
> 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 linkage 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 the inline function in multiple places.
>
> MSN
>



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555