[Matroska-devel] Matroska 1.4 build under vs2010 fails

Colin S. Miller csm at csmiller.demon.co.uk
Mon Jul 15 21:41:59 CEST 2013


On 15/07/13 20:37, Moritz Bunkus wrote:
The patch can either list *all* the exported functions, variables etc, 
in a .def, which
is a pain, but doesn't affect other platforms.

Or do
in a windows-specific header
#define CLASS_EXPORT_MODEL  __declspec(dllexport)
and everything else header
#define CLASS_EXPORT_MODEL
and then do
class CLASS_EXPORT_MODEL classname
{
...
};

Neither is ideal...

Colin S. Miller

> Hey,
>
> I'm not sure whether or not it's worth it, then. Such a patch would
> also have to be cross-platform compatible (the libraries are used on
> Linux, Mac OS and other Unix-like OS, and those don't know about
> dllexport/import at all).
>
> Kind regards,
> mosu
> _______________________________________________
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
> http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
> Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel




More information about the Matroska-devel mailing list