[Gimp-developer] Re: OK to stop using .def files for Windows builds with gcc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tor Lillqvist writes:
 > No. But the alternative is to decorate every function and variable to
 > be exported with __declspec(dllexport).

To be more precise, preprocessor macros would have to be used in such
a way that when compiling the library in question, the compiler sees
__declspec(dllexport), but when compiling software that uses the
library, it sees __declspec(dllimport) (or just 'extern', declaring
imported functions isn't really necessary).

--tml



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux