RE: [GD-Windows] declspec?
Brought to you by:
vexxed72
From: Daniel V. <Dan...@ep...> - 2005-01-08 22:18:18
|
There are a couple of cases where VS.NET doesn't pick up correctly on changes and you need to manually perform a full rebuild/ relink. And there are a few cases where updating project files via source control while VS.NET is running doesn't work reliably and you need to re-open the solution. Having incremental linking enabled is another source for potential issues that go away with full rebuilds. I usually just re-open the solution and do a full rebuild whenever I get really bizarre problems that *shouldn't* happen :) -- Daniel, Epic Games Inc. =20 > -----Original Message----- > From: gam...@li...=20 > [mailto:gam...@li...] On=20 > Behalf Of Brett Bibby > Sent: Saturday, January 08, 2005 1:01 AM > To: gam...@li... > Subject: Re: [GD-Windows] declspec? >=20 > So I booted MSVC to build and get the error to post here, and=20 > the error went > away. Another programmer verified the error magically=20 > disappeared on his > machine too. Classic. We had created a new project to test out some > multiplatform code and without quitting put all the code in=20 > and got the > errors. Somehow quitting and reloading the project fixed it. sigh. >=20 > ----- Original Message -----=20 > From: "Alen Ladavac" <ale...@cr...> > To: <gam...@li...> > Sent: Friday, January 07, 2005 5:37 PM > Subject: Re: [GD-Windows] declspec? >=20 >=20 > > Those are only for dlls, not for static libraries. Static=20 > libraries don't > > need any special declarations. What exactly does the linker say? > > > > Alen > > > > ----- Original Message ----- > > From: "Brett Bibby" <res...@ga...> > > To: <Gam...@li...> > > Sent: Friday, January 07, 2005 2:24 AM > > Subject: [GD-Windows] declspec? > > > > > > > Can someone explain to me when and how to use the=20 > __declspec(dllimport) > > and > > > __declspec(dllexport) specifiers? > > > > > > We have a few libraries that are statically linked to the=20 > game. In > > > CodeWarrior this has always worked. We tried to build a=20 > MSVC project > and > > > the linker complains. Only when we put=20 > __declspec(dllexport) in the > class > > > declarations will it compile. I checked the MSDN doc and=20 > it's not very > > > clear what's needed for static libraries. This must be a=20 > basic thing I > > > guess, but I have always used CodeWariror and never seen=20 > this kind of > > > problem. > > > > > > Cheers, > > > -bb > > > > > > > > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by: Beat the post-holiday blues > > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > > It's fun and FREE -- well,=20 > almost....http://www.thinkgeek.com/sfshirt > > > _______________________________________________ > > > Gamedevlists-windows mailing list > > > Gam...@li... > > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > > Archives: > > > http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 > > > > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well,=20 > almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Gamedevlists-windows mailing list > > Gam...@li... > > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > > Archives: > > http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 >=20 >=20 >=20 > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 >=20 |