![]() |
【转帖】linking warnings
linking warnings
linking warnings hi, just wondering if these warnings are anything to be concerned about: 1>dwg.obj : warning lnk4049: locally defined symbol ?knull@oddbobjectid@@2v1@b (public: static class oddbobjectid const oddbobjectid::knull) imported 1>dwgtranslationfile.obj : warning lnk4217: locally defined symbol ?knull@oddbobjectid@@2v1@b (public: static class oddbobjectid const oddbobjectid::knull) imported in function "private: int __thiscall cdwgtranslationfile::lin_rewrap(void)" (?lin_rewrap@cdwgtranslationfile@@aaehxz) 1>exgirasterimage.obj : warning lnk4049: locally defined symbol ?g_empty_array_buffer@odarraybuffer@@2u1@a (public: static struct odarraybuffer odarraybuffer::g_empty_array_buffer) imported 1>linetypemanager.obj : warning lnk4049: locally defined symbol ?g_empty_array_buffer@odarraybuffer@@2u1@a (public: static struct odarraybuffer odarraybuffer::g_empty_array_buffer) imported 1>stylemanager.obj : warning lnk4049: locally defined symbol ?g_empty_array_buffer@odarraybuffer@@2u1@a (public: static struct odarraybuffer odarraybuffer::g_empty_array_buffer) imported 1>dwg.obj : warning lnk4049: locally defined symbol ?g_empty_array_buffer@odarraybuffer@@2u1@a (public: static struct odarraybuffer odarraybuffer::g_empty_array_buffer) imported 1>dwgcreation.obj : warning lnk4049: locally defined symbol ?g_empty_array_buffer@odarraybuffer@@2u1@a (public: static struct odarraybuffer odarraybuffer::g_empty_array_buffer) imported 1>dwgimport.obj : warning lnk4049: locally defined symbol ?g_empty_array_buffer@odarraybuffer@@2u1@a (public: static struct odarraybuffer odarraybuffer::g_empty_array_buffer) imported 1>dwgtranslationfile.obj : warning lnk4049: locally defined symbol ?g_empty_array_buffer@odarraybuffer@@2u1@a (public: static struct odarraybuffer odarraybuffer::g_empty_array_buffer) imported i'm using vs2008 to statically link to the following 2.05.01 libraries: dd_vc9md_alloc.lib _db _dbroot _ge _gi _gs _root _spatialindex my application appears to be running ok, but these warnings were not there when linking with the dd_vc2002md libs. thanks, what preprocessor symbols do you define? vladimir _debug;win32;_windows;dwgdll_32_exports;_toolkit_i n_dll_;_crt_secure_no_warnings (those were all capitalized when i first posted, somehow the post changed the casing) i removed the _toolkit_in_dll_ and the warnings went away! it was in there from when i was attempting the dll version, now i am using dd static. thanks for your help in solving that! last edited by erle; 8th february 2008 at 08:21 amfff">. |
所有的时间均为北京时间。 现在的时间是 05:19 PM. |