Hi there,
I just checked out a fresh cvs tree and tried to compile it with dev-c++, which uses the mingw of the gcc suite. I get an error with filmQT.cpp:
g++.exe -c Pixes/filmQT.cpp -o Pixes/filmQT.o -I"D:/Programme/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2" -I"D:/Programme/Dev-Cpp/include" -I"../src" -I"../../pd/src" -I"../../GemLibs/tiff/libtiff" -I"../../GemLibs/JPEG" -I"../../GemLibs/wintab/include" -I"../../GemLibs/freetype2/include" -I"../../GemLibs/FTGL/include" -I"../../MS PSDK/Samples/Multimedia/DirectShow/BaseClasses" -I"../../MS PSDK/Include" -I"D:/Programme/Microsoft DirectX 9.0 SDK (February 2005)/Include" -I"D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/QT6 SDK (Win)/Interfaces & Libraries/QTDevWin/CIncludes" -I"../../QT6 SDK (Win)/Interfaces & Libraries/QTDevWin/CIncludes" -D__GNUWIN32__ -march=pentium3 -D_M_IX86=600 -W -finline-functions -DNDEBUG -DWIN32 -D_WINDOWS -DNT -D_LANGUAGE_C_PLUS_PLUS -DWIN32_LEAN_AND_MEAN -DGEM_INTERNAL -Wno-multichar -march=pentium3 -mfpmath=sse -O2
Pixes/filmQT.cpp: In member function `virtual bool filmQT::open(char*, int)': Pixes/filmQT.cpp:209: error: jump to label `unsupported'
Pixes/filmQT.cpp:106: error: from here
Pixes/filmQT.cpp:160: error: crosses initialization of `short int flags'
Pixes/filmQT.cpp:158: error: crosses initialization of `OSType whichMediaType'
Pixes/filmQT.cpp:126: error: crosses initialization of `short int refnum'
Pixes/filmQT.cpp:113: error: crosses initialization of `OSErr err'
Pixes/filmQT.cpp:109: error: crosses initialization of `int wantedFormat'
make.exe: *** [Pixes/filmQT.o] Error 1
Execution terminated
I didn't knew thatg++.exe -c Pixes/filmQT.cpp -o Pixes/filmQT.o -I"D:/Programme/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Programme/Dev-Cpp/include/c++/3.4.2" -I"D:/Programme/Dev-Cpp/include" -I"../src" -I"../../pd/src" -I"../../GemLibs/tiff/libtiff" -I"../../GemLibs/JPEG" -I"../../GemLibs/wintab/include" -I"../../GemLibs/freetype2/include" -I"../../GemLibs/FTGL/include" -I"../../MS PSDK/Samples/Multimedia/DirectShow/BaseClasses" -I"../../MS PSDK/Include" -I"D:/Programme/Microsoft DirectX 9.0 SDK (February 2005)/Include" -I"D:/Dokumente und Einstellungen/VJ/Eigene Dateien/GEM/QT6 SDK (Win)/Interfaces & Libraries/QTDevWin/CIncludes" -I"../../QT6 SDK (Win)/Interfaces & Libraries/QTDevWin/CIncludes" -D__GNUWIN32__ -march=pentium3 -D_M_IX86=600 -W -finline-functions -DNDEBUG -DWIN32 -D_WINDOWS -DNT -D_LANGUAGE_C_PLUS_PLUS -DWIN32_LEAN_AND_MEAN -DGEM_INTERNAL -Wno-multichar -march=pentium3 -mfpmath=sse -O2
Pixes/filmQT.cpp: In member function `virtual bool filmQT::open(char*, int)': Pixes/filmQT.cpp:209: error: jump to label `unsupported'
Pixes/filmQT.cpp:106: error: from here
Pixes/filmQT.cpp:160: error: crosses initialization of `short int flags'
Pixes/filmQT.cpp:158: error: crosses initialization of `OSType whichMediaType'
Pixes/filmQT.cpp:126: error: crosses initialization of `short int refnum'
Pixes/filmQT.cpp:113: error: crosses initialization of `OSErr err'
Pixes/filmQT.cpp:109: error: crosses initialization of `int wantedFormat'
make.exe: *** [Pixes/filmQT.o] Error 1
Execution terminated
It would be great if someone could help out here ... Am I missing an essential compiler switch? The code itself looks okay, although I'm bit surprised that "goto" has a right to existence outside the BASIC-world.
With kind regards, Thoralf.
___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com