Re: [GD-Windows] VS 2003 generating duplicate COMDAT for template instantiation?
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2007-05-16 03:55:13
|
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 > |