[XviD-devel] dshow gcc-3.3.1 patch

Milan Cutka cutka at szm.sk
Thu Aug 5 18:05:45 CEST 2004


RU> add the --allow-multiple-definition linker flag, because
RU> I get

RU>    multiple definition of `_QACONTAINERFLAGS'
RU>    CAbout.obj(.bss+0x0):CAbout.cpp: first defined here
 
RU> /cygdrive/p/DX90SDK/Samples/C++/DirectShow/BaseClasses/strmbase.lib(ddmm.o)(.bss+0x0):ddmm.cpp:
RU>    multiple definition of `_QACONTAINERFLAGS'
RU>    CAbout.obj(.bss+0x0):CAbout.cpp: first defined here

RU> in about all strmbase.lib object files. (new stream.h in the dx90 summer
RU> 2004 update ?)

IIRC it's a bug in mingw headers. In mingw/include/ocidl.h file look
for QACONTAINERFLAGS. There should be line like:

    enum tagQACONTAINERFLAGS

which  is wrong. Change it to:

     typedef enum tagQACONTAINERFLAGS

and recompile whole project.
     
  Milan



More information about the XviD-devel mailing list