DevC++ seems to misinterpret GCC's compile log. It
counts information GCC gives as errors.
I store the files of my project in different
directories, when the compiler switches the directory
to compile the files there, it will report
"Directory\File.cpp", DevC++ version 4.9.8.1 counts
this as an error.
Here's my compile log:
Compiler: MinGW
Building Makefile: "C:\Dokumente und
Einstellungen\Fobbikk\Eigene
Dateien\Programmieren\VST\Dirtalizer\Dirtalizer\Makefile.win"
Executing make clean
rm -f Output/Dirtalizer.o Output/DirtalizerMain.o
Output/AudioEffect.o Output/audioeffectx.o
Output/vstcontrols.o Output/vstgui.o
Output/aeffguieditor.o dirtalizer_private.res
../../../../../../../Programme/Steinberg/Vstplugins/dirtalizer.dll
g++.exe -c Sources/Dirtalizer.cpp -o
Output/Dirtalizer.o
-I"C:/Programme/MinGW/include/c++/3.2"
-I"C:/Programme/MinGW/include/c++/3.2/backward"
-I"VST" -I"VSTGUI" -I"." -Winline -Wall
-fmessage-length=0
In file included from VST/AudioEffect.hpp:11,
from VST/audioeffectx.h:11,
from Sources/dirtalizer.hpp:17,
from Sources/Dirtalizer.cpp:28:
VST/AEffect.h:36: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/AEffect.h:201: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
In file included from VST/audioeffectx.h:15,
from Sources/dirtalizer.hpp:17,
from Sources/Dirtalizer.cpp:28:
VST/aeffectx.h:22: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/aeffectx.h:1135: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
Sources/Dirtalizer.cpp:116:21: warning: multi-character
character constant
g++.exe -c Sources/DirtalizerMain.cpp -o
Output/DirtalizerMain.o
-I"C:/Programme/MinGW/include/c++/3.2"
-I"C:/Programme/MinGW/include/c++/3.2/backward"
-I"VST" -I"VSTGUI" -I"." -Winline -Wall
-fmessage-length=0
In file included from VST/AudioEffect.hpp:11,
from VST/audioeffectx.h:11,
from Sources/dirtalizer.hpp:17,
from Sources/DirtalizerMain.cpp:13:
VST/AEffect.h:36: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/AEffect.h:201: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
In file included from VST/audioeffectx.h:15,
from Sources/dirtalizer.hpp:17,
from Sources/DirtalizerMain.cpp:13:
VST/aeffectx.h:22: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/aeffectx.h:1135: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
g++.exe -c VST/AudioEffect.cpp -o Output/AudioEffect.o
-I"C:/Programme/MinGW/include/c++/3.2"
-I"C:/Programme/MinGW/include/c++/3.2/backward"
-I"VST" -I"VSTGUI" -I"." -Winline -Wall
-fmessage-length=0
In file included from VST/AudioEffect.hpp:11,
from VST/AudioEffect.cpp:16:
VST/AEffect.h:36: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/AEffect.h:201: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
In file included from VST/AEffEditor.hpp:22,
from VST/AudioEffect.cpp:20:
VST/aeffectx.h:22: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/aeffectx.h:1135: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
g++.exe -c VST/audioeffectx.cpp -o
Output/audioeffectx.o
-I"C:/Programme/MinGW/include/c++/3.2"
-I"C:/Programme/MinGW/include/c++/3.2/backward"
-I"VST" -I"VSTGUI" -I"." -Winline -Wall
-fmessage-length=0
In file included from VST/AudioEffect.hpp:11,
from VST/audioeffectx.h:11,
from VST/audioeffectx.cpp:11:
VST/AEffect.h:36: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/AEffect.h:201: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
In file included from VST/audioeffectx.h:15,
from VST/audioeffectx.cpp:11:
VST/aeffectx.h:22: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/aeffectx.h:1135: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
g++.exe -c VSTGUI/vstcontrols.cpp -o
Output/vstcontrols.o
-I"C:/Programme/MinGW/include/c++/3.2"
-I"C:/Programme/MinGW/include/c++/3.2/backward"
-I"VST" -I"VSTGUI" -I"." -Winline -Wall
-fmessage-length=0
In file included from VST/aeffectx.h:11,
from VST/AEffEditor.hpp:22,
from VSTGUI/aeffguieditor.h:42,
from VSTGUI/vstgui.h:85,
from VSTGUI/vstcontrols.h:40,
from VSTGUI/vstcontrols.cpp:48:
VST/AEffect.h:36: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/AEffect.h:201: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
In file included from VST/AEffEditor.hpp:22,
from VSTGUI/aeffguieditor.h:42,
from VSTGUI/vstgui.h:85, from VSTGUI/vstcontrols.h:40, from VSTGUI/vstcontrols.cpp:48:
VST/aeffectx.h:22: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/aeffectx.h:1135: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
VSTGUI/vstcontrols.cpp: In member function virtual
void
VSTGUI::COptionMenu::takeFocus(VSTGUI::CDrawContext*)':
VSTGUI/vstcontrols.cpp:2490: warning: unused variable
bool multipleCheck'
g++.exe -c VSTGUI/vstgui.cpp -o Output/vstgui.o
-I"C:/Programme/MinGW/include/c++/3.2"
-I"C:/Programme/MinGW/include/c++/3.2/backward"
-I"VST" -I"VSTGUI" -I"." -Winline -Wall
-fmessage-length=0
In file included from VST/aeffectx.h:11,
from VST/AEffEditor.hpp:22,
from VSTGUI/aeffguieditor.h:42,
from VSTGUI/vstgui.h:85,
from VSTGUI/vstgui.cpp:43:
VST/AEffect.h:36: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/AEffect.h:201: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
In file included from VST/AEffEditor.hpp:22,
from VSTGUI/aeffguieditor.h:42,
from VSTGUI/vstgui.h:85, from VSTGUI/vstgui.cpp:43:
VST/aeffectx.h:22: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/aeffectx.h:1135: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
VSTGUI/vstgui.h: In constructor
VSTGUI::CDrawContext::CDrawContext(VSTGUI::CFrame*,
void*, void*)':
VSTGUI/vstgui.h:555: warning: member initializers for
void*VSTGUI::CDrawContext::pFont'
VSTGUI/vstgui.h:554: warning: and
`void*VSTGUI::CDrawContext::pPen'
VSTGUI/vstgui.cpp:456: warning: will be re-ordered to
match declaration order
VSTGUI/vstgui.cpp: In member function void
VSTGUI::CDrawContext::setFillColor(VSTGUI::CColor)':
VSTGUI/vstgui.cpp:1516: warning: unused variable
DWORD
err'
VSTGUI/vstgui.cpp: In member function bool
VSTGUI::CFrame::setSize(long int, long int)':
VSTGUI/vstgui.cpp:3613: warning: unused variable
long
int oldWidth'
VSTGUI/vstgui.cpp:3614: warning: unused variable `long
int oldHeight'
VSTGUI/vstgui.cpp: In member function long int
VSTGUI::CFileSelector::run(VstFileSelect*)':
VSTGUI/vstgui.cpp:5875: warning: unused variable
bool
first'
VSTGUI/vstgui.cpp: In function void
showPathInWindowTitle(HWND__*, OFNOTIFYA*)':
VSTGUI/vstgui.cpp:6446: warning: unused variable
OPENFILENAME*ofn'
VSTGUI/vstgui.cpp:6514:38: warning: trigraph ??) ignored
VSTGUI/vstgui.cpp: In function `bool InitWindowClass()':
VSTGUI/vstgui.cpp:6529: warning: unsigned int format,
HINSTANCE arg (arg 3)
g++.exe -c VSTGUI/aeffguieditor.cpp -o
Output/aeffguieditor.o
-I"C:/Programme/MinGW/include/c++/3.2"
-I"C:/Programme/MinGW/include/c++/3.2/backward"
-I"VST" -I"VSTGUI" -I"." -Winline -Wall
-fmessage-length=0
In file included from VST/aeffectx.h:11,
from VST/AEffEditor.hpp:22,
from VSTGUI/aeffguieditor.h:42,
from VSTGUI/aeffguieditor.cpp:39:
VST/AEffect.h:36: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/AEffect.h:201: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
In file included from VST/AEffEditor.hpp:22,
from VSTGUI/aeffguieditor.h:42,
from VSTGUI/aeffguieditor.cpp:39:
VST/aeffectx.h:22: warning: malformed '#pragma
pack(push[, id], <n>)' - ignored
VST/aeffectx.h:1135: warning: #pragma pack (pop)
encountered without matching #pragma pack (push, <n>)
windres.exe -i dirtalizer_private.rc -I rc -o
dirtalizer_private.res -O coff --include-dir RESOUR~1
--include-dir .
dllwrap.exe --output-def
../../../../../../../Programme/Steinberg/Vstplugins/libdirtalizer.def
--driver-name c++ --implib
../../../../../../../Programme/Steinberg/Vstplugins/libdirtalizer.a
Output/Dirtalizer.o Output/DirtalizerMain.o
Output/AudioEffect.o Output/audioeffectx.o
Output/vstcontrols.o Output/vstgui.o
Output/aeffguieditor.o dirtalizer_private.res
-L"C:/Programme/MinGW/lib"
-L"C:/Programme/MinGW/lib/gcc-lib/mingw32/3.2" -L"VST"
-L"VSTGUI" -L"." --no-export-all-symbols
--add-stdcall-alias --def dirtalizer.def -lcomctl32
-lole32 -lgdi32 -lcomdlg32 -luuid -o
../../../../../../../Programme/Steinberg/Vstplugins/dirtalizer.dll
Execution terminated
DevC++ reports 5 errors, although the DLL is fine and
works.
Logged In: YES
user_id=609236
is this still happening with dev-c++ 4.9.9.0?