|
From: Daniel K. O. <dan...@ya...> - 2004-08-29 21:09:03
|
OROSZI Balázs wrote: > As a side note, if you are sure, that you will never use any compiler > apart from GCC, then this __declspec() stuff is not needed at all, as > far as I know, because GCC can auto-import symbols. Have to read more > on this myself, I just wanted you to know about it. A bit of info about this: http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#index-_0040code_007b_005f_005fdeclspec_0028dllexport_0029_007d-1646 "For Microsoft Windows based targets the use of the dllimport attribute on functions is not necessary, but provides a small performance benefit by eliminating a thunk in the DLL. (...)" Daniel K. O. |