Original Post
Well I'm developing my game engine I have encountered a problem, creating cross-platform libraries. I started by using .def files, but I'm starting to consider using __declspec(dllexport) instead because not being able to export classes is very annoying. Currently the only advantage I can see with __declspec(dllexport) is that they can export classes(huge benefit). The only advantage I can see with .def files is that I heard they were more portable (is this true?). So could anyone give me some arguments for and against both?