Re: OK to stop using .def files for Windows builds with gcc?



Arnaud Charlet writes:
 > Is it really the case that MSVC can't create DLLs without .def files ?

No. But the alternative is to decorate every function and variable to
be exported with __declspec(dllexport). That would clutter the headers
unbearable. (The exported variables do have to be decorated like this
anyway, I think, but luckily they are few.)

--tml





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