Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

error: ISO C++ forbids declaration of `Custom1' with no type

<< < (2/3) > >>

stahta01:
Added three ?

What version of minGW __MINGW32_VERSION? (_mingw.h, __MINGW32_VERSION)
What version of minGW __W32API_VERSION? (w32api.h, __W32API_VERSION)
What version of Code::Blocks? (SVN number)

Please turn on full command line logging and POST compiler line that causes the error.

I am trying wx2.8.0 to see if I can duplicate error, using current C::B svn and a standard minGW.
(I have normally been using a modified minGW and wx2.8 branch)

Here's my command line for you to compare with.

--- Code: ---mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DTIXML_USE_STL -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DEXPORT_LIB -DEXPORT_EVENTS  -IC:\wx\inno\wxWidgets-2.8\wxWidgets-2.8.0\include -IC:\wx\inno\wxWidgets-2.8\wxWidgets-2.8.0\lib\gcc_dll\mswu -IC:\wx\inno\wxWidgets-2.8\wxWidgets-2.8.0\contrib\include -Isdk\wxscintilla\include -Isdk\propgrid\include -Isdk -Isdk\scripting\include -Isdk\scripting\sqplus -Isdk\wxFlatNotebook\include -IC:\apps\MinGW_GCC_3.4.5_API_3_8\include  -c C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN\codeblocks-head\codeblocks\src\sdk\projectoptionsdlg.cpp -o .objs\2.6\sdk\projectoptionsdlg.o
C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN\codeblocks-head\codeblocks\src\sdk\projectoptionsdlg.cpp: In member function `void ProjectOptionsDlg::OnFileToggleMarkClick(wxCommandEvent&)':
C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN\codeblocks-head\codeblocks\src\sdk\projectoptionsdlg.cpp:745: warning: comparison between signed and unsigned integer expressions
C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN\codeblocks-head\codeblocks\src\sdk\projectoptionsdlg.cpp: In member function `void ProjectOptionsDlg::OnRemoveScript(wxCommandEvent&)':
C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN\codeblocks-head\codeblocks\src\sdk\projectoptionsdlg.cpp:908: warning: comparison between signed and unsigned integer expressions
C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN\codeblocks-head\codeblocks\src\sdk\projectoptionsdlg.cpp: In member function `void ProjectOptionsDlg::OnScriptMoveDown(wxSpinEvent&)':
C:\CodeProjects\CodeBlocksProjects\CodeBlocks\CB_SVN\codeblocks-head\codeblocks\src\sdk\projectoptionsdlg.cpp:938: warning: comparison between signed and unsigned integer expressions

--- End code ---

Tim S

AmR EiSa:
i setup my MinGW with MinGW-5.1.3 with candidate ,
binutils-2.17.50
gcc-core-3.4.5
gcc-g++-3.4.5
mingw-runtime-3.11
mingw32-make-3.81-1
w32api-3.8

and with wxPack v2.8.0.03 i think the ver in wxpack is what in wx download site but i del this i get wx 2.8.1.2 and now try to build it with Min GW and VC80

stahta01:
Can you build wxWidgets from source using your minGW setup?

If, yes and you still have issues compiling C::B against wxWidgets 2.8.0, Please turn on full command line logging and POST compiler line that causes the error. It works for me with a slightly older minGW installation.

Tim S

AmR EiSa:
now i rebuild wx ver 2.8.1.2

AmR EiSa:
i do it with 2.8.1.2 and same info but i will upload build log files soon  :(
Sorry for that but I format my HD  :(


AmR EiSa

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version