that isn't a syntax error, it is a command-line error
this is the build log:
Audio Game Kit build log
Build started on: 08-01-2014 at 14:27.48
Build ended on: 08-01-2014 at 14:27.53
-------------- Build: Debug in Audio Game Kit (compiler: GNU GCC Compiler)---------------
g++.exe -std=c++11 -Wall -DHAVE_W32API_H -D__WXMSW__ -DwxUSE_UNICODE -DwxUSE_UNICODE_MSLU -DCRYPTOPP_ENABLE_NAMESPACE_WEAK -DBOOST_THREAD_USE_LIB -Dunicode
-DSFML_STATIC -g -IC:\Dev-Cpp\include -c F:\projects\cpp\AGK\AGK.cpp -o obj\Debug\AGK.o
<command-line>:0:9: error: expected unqualified-id before numeric constant
In file included from c:\dev-cpp\include\windows.h:55:0,
from c:\dev-cpp\include\screenreaderapi.h:6,
from F:\projects\cpp\AGK\AGK.cpp:17:
c:\dev-cpp\include\wx\msw\winundef.h: In function 'HWND__* CreateDialog(HINSTANCE, LPCTSTR, HWND, DLGPROC)':
c:\dev-cpp\include\wx\msw\winundef.h:38:20: error: cannot convert 'LPCTSTR {aka const char*}' to 'LPCWSTR {aka const wchar_t*}' for argument '2' to 'HWND__*
CreateDialogParamW(HINSTANCE, LPCWSTR, HWND, DLGPROC, LPARAM)'
return CreateDialogW(hInstance, pTemplate, hwndParent, pDlgProc);
^
In file included from c:\dev-cpp\include\wx\defs.h:3450:0,
from c:\dev-cpp\include\wx\wx.h:14,
from F:\projects\cpp\AGK\AGK.cpp:36:
c:\dev-cpp\include\wx\msw\winundef.h: In function 'HFONT__* CreateFont(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD,
LPCTSTR)':
c:\dev-cpp\include\wx\msw\winundef.h:69:48: error: cannot convert 'LPCTSTR {aka const char*}' to 'LPCWSTR {aka const wchar_t*}' for argument '14' to 'HFONT__*
CreateFontW(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPCWSTR)'
family, facename);
^
In file included from c:\dev-cpp\include\windows.h:55:0,
from c:\dev-cpp\include\screenreaderapi.h:6,
from F:\projects\cpp\AGK\AGK.cpp:17:
c:\dev-cpp\include\wx\msw\winundef.h: In function 'HWND__* CreateWindow(LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID)':
c:\dev-cpp\include\wx\msw\winundef.h:94:20: error: cannot convert 'LPCTSTR {aka const char*}' to 'LPCWSTR {aka const wchar_t*}' for argument '2' to 'HWND__*
CreateWindowExW(DWORD, LPCWSTR, LPCWSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID)'
return CreateWindowW(lpClassName, lpWndClass, dwStyle, x, y, w, h,
^
In file included from c:\dev-cpp\include\wx\defs.h:3450:0,
from c:\dev-cpp\include\wx\wx.h:14,
from F:\projects\cpp\AGK\AGK.cpp:36:
c:\dev-cpp\include\wx\msw\winundef.h: In function 'HMENU__* LoadMenu(HINSTANCE, LPCTSTR)':
c:\dev-cpp\include\wx\msw\winundef.h:111:44: error: cannot convert 'LPCTSTR {aka const char*}' to 'LPCWSTR {aka const wchar_t*}' for argument '2' to 'HMENU__*
LoadMenuW(HINSTANCE, LPCWSTR)'
return LoadMenuW(instance, name);
^
c:\dev-cpp\include\wx\msw\winundef.h: In function 'HWND__* FindText(LPFINDREPLACE)':
c:\dev-cpp\include\wx\msw\winundef.h:126:43: error: cannot convert 'LPFINDREPLACE {aka FINDREPLACEA*}' to 'LPFINDREPLACEW {aka FINDREPLACEW*}' for argument
'1' to 'HWND__* FindTextW(LPFINDREPLACEW)'
return FindTextW(lpfindreplace);
^
c:\dev-cpp\include\wx\msw\winundef.h: In function 'HICON__* LoadIcon(HINSTANCE, LPCTSTR)':
c:\dev-cpp\include\wx\msw\winundef.h:311:51: error: cannot convert 'LPCTSTR {aka const char*}' to 'LPCWSTR {aka const wchar_t*}' for argument '2' to 'HICON__*
LoadIconW(HINSTANCE, LPCWSTR)'
return LoadIconW(hInstance, lpIconName);
^
c:\dev-cpp\include\wx\msw\winundef.h: In function 'HBITMAP__* LoadBitmap(HINSTANCE, LPCTSTR)':
c:\dev-cpp\include\wx\msw\winundef.h:324:55: error: cannot convert 'LPCTSTR {aka const char*}' to 'LPCWSTR {aka const wchar_t*}' for argument '2' to 'HBITMAP__*
LoadBitmapW(HINSTANCE, LPCWSTR)'
return LoadBitmapW(hInstance, lpBitmapName);
^
Process terminated with status 1 (0 minute(s), 5 second(s))
8 error(s), 0 warning(s) (0 minute(s), 5 second(s))
the other errors are for wxWidgets, and after I write my implementation, they'll be fixed
but the first one is for command-line and I don't know how to fix it
when I select the error from the list, nothing happen's and CB doesn't go there for fixing the problem
now, what can I do?
I've search it in google, but I don't found anything