User forums > Using Code::Blocks
Compilation errors
ac506in:
Switching to target: default
Precompiling header: wx_pch.h
In file included from <command line>:7:
./wx_pch.h:6:8: warning: C++ style comments are not allowed in ISO C90
./wx_pch.h:6:8: warning: (this will be reported only once per input file)
In file included from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/wxprec.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/wxprec.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/platform.h:190,
from D:/OpenSource/wx/include/wx/defs.h:21,
from D:/OpenSource/wx/include/wx/wxprec.h:13,
from ./wx_pch.h:9,
from <command line>:7:
from <command line>:7:
d:/Program Files/CodeBlocks/include/stddef.h:6:2: warning: #include_next is a GCC extension
In file included from d:/Program Files/CodeBlocks/include/ctype.h:20,
from D:/OpenSource/wx/include/wx/wxchar.h:140,
from D:/OpenSource/wx/include/wx/debug.h:22,
from D:/OpenSource/wx/include/wx/defs.h:503,
from D:/OpenSource/wx/include/wx/wxprec.h:13,
from ./wx_pch.h:9,
from <command line>:7:
d:/Program Files/CodeBlocks/include/stddef.h:6:2: warning: #include_next is a GCC extension
In file included from D:/OpenSource/wx/include/wx/debug.h:22,
from D:/OpenSource/wx/include/wx/defs.h:503,
from D:/OpenSource/wx/include/wx/wxprec.h:13,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/wxchar.h:1195:5: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/wxchar.h:1195:5: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/defs.h:509,
from D:/OpenSource/wx/include/wx/wxprec.h:13,
from ./wx_pch.h:9,
from <command line>:7:
d:/Program Files/CodeBlocks/include/stddef.h:6:2: warning: #include_next is a GCC extension
In file included from D:/OpenSource/wx/include/wx/wxprec.h:13,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/defs.h:995: warning: ISO C90 does not support `long long'
D:/OpenSource/wx/include/wx/defs.h:996: warning: ISO C90 does not support `long long'
In file included from D:/OpenSource/wx/include/wx/wxprec.h:13,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/defs.h:1857:8: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/defs.h:1857:8: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/wxprec.h:45,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/msw/wrapwin.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/msw/wrapwin.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/msw/wrapwin.h:58,
from D:/OpenSource/wx/include/wx/wxprec.h:45,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/msw/winundef.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/msw/winundef.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/wx.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/wx.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/object.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/object.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/memory.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/memory.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/string.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/string.h:1:1: warning: (this will be reported only once per input file)
In file included from d:/Program Files/CodeBlocks/include/stdio.h:26,
from D:/OpenSource/wx/include/wx/string.h:40,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
d:/Program Files/CodeBlocks/include/stddef.h:6:2: warning: #include_next is a GCC extension
In file included from d:/Program Files/CodeBlocks/include/stdio.h:28,
from D:/OpenSource/wx/include/wx/string.h:40,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
d:/Program Files/CodeBlocks/include/stdarg.h:6:2: warning: #include_next is a GCC extension
In file included from D:/OpenSource/wx/include/wx/string.h:40,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
d:/Program Files/CodeBlocks/include/stdio.h:330: warning: ISO C90 does not support `long long'
In file included from D:/OpenSource/wx/include/wx/string.h:40,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
d:/Program Files/CodeBlocks/include/stdio.h:416:14: warning: use of C99 long long integer constant
In file included from D:/OpenSource/wx/include/wx/string.h:41,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
d:/Program Files/CodeBlocks/include/stdarg.h:6:2: warning: #include_next is a GCC extension
In file included from D:/OpenSource/wx/include/wx/string.h:55,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/buffer.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/buffer.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/string.h:55,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/buffer.h:96: error: syntax error before "wxCharBuffer"
D:/OpenSource/wx/include/wx/buffer.h:96: error: syntax error before '=' token
D:/OpenSource/wx/include/wx/buffer.h: In function `release':
D:/OpenSource/wx/include/wx/buffer.h:96: error: syntax error before '{' token
D:/OpenSource/wx/include/wx/buffer.h:176: error: syntax error before "private"
In file included from D:/OpenSource/wx/include/wx/string.h:56,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/strconv.h:1:1: warning: C++ style comments are not allowed in ISO C90
D:/OpenSource/wx/include/wx/strconv.h:1:1: warning: (this will be reported only once per input file)
In file included from D:/OpenSource/wx/include/wx/string.h:56,
from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/strconv.h:50: error: syntax error before "cMB2WC"
D:/OpenSource/wx/include/wx/strconv.h:51: error: syntax error before "cWC2MB"
D:/OpenSource/wx/include/wx/strconv.h:57: error: redefinition of parameter 'wxWCharBuffer'
D:/OpenSource/wx/include/wx/strconv.h:50: error: previous definition of 'wxWCharBuffer' was here
D:/OpenSource/wx/include/wx/strconv.h:57: error: syntax error before "cMB2WC"
D:/OpenSource/wx/include/wx/strconv.h:58: error: redefinition of parameter 'wxCharBuffer'
D:/OpenSource/wx/include/wx/strconv.h:51: error: previous definition of 'wxCharBuffer' was here
D:/OpenSource/wx/include/wx/strconv.h:58: error: syntax error before "cWC2MB"
D:/OpenSource/wx/include/wx/strconv.h:219: error: syntax error before "const"
D:/OpenSource/wx/include/wx/strconv.h:232: error: syntax error before "wxFontEncoding"
D:/OpenSource/wx/include/wx/strconv.h:246: error: storage class specified for parameter `wxMBConv'
D:/OpenSource/wx/include/wx/strconv.h:246: error: syntax error before '&' token
D:/OpenSource/wx/include/wx/strconv.h:249: error: storage class specified for parameter `wxCSConv'
D:/OpenSource/wx/include/wx/strconv.h:249: error: syntax error before '&' token
D:/OpenSource/wx/include/wx/strconv.h:250: error: storage class specified for parameter `wxMBConvUTF7'
D:/OpenSource/wx/include/wx/strconv.h:250: error: syntax error before '&' token
D:/OpenSource/wx/include/wx/strconv.h:251: error: storage class specified for parameter `wxMBConvUTF8'
D:/OpenSource/wx/include/wx/strconv.h:251: error: syntax error before '&' token
D:/OpenSource/wx/include/wx/strconv.h:260: error: storage class specified for parameter `wxMBConv'
D:/OpenSource/wx/include/wx/strconv.h:260: error: redefinition of parameter 'wxMBConv'
D:/OpenSource/wx/include/wx/strconv.h:246: error: previous definition of 'wxMBConv' was here
D:/OpenSource/wx/include/wx/strconv.h:260: error: syntax error before '*' token
D:/OpenSource/wx/include/wx/strconv.h:267: error: storage class specified for parameter `wxMBConv'
D:/OpenSource/wx/include/wx/strconv.h:267: error: redefinition of parameter 'wxMBConv'
D:/OpenSource/wx/include/wx/strconv.h:260: error: previous definition of 'wxMBConv' was here
D:/OpenSource/wx/include/wx/strconv.h:267: error: syntax error before '*' token
D:/OpenSource/wx/include/wx/strconv.h:270: error: storage class specified for parameter `wxCSConv'
D:/OpenSource/wx/include/wx/strconv.h:270: error: redefinition of parameter 'wxCSConv'
D:/OpenSource/wx/include/wx/strconv.h:249: error: previous definition of 'wxCSConv' was here
D:/OpenSource/wx/include/wx/strconv.h:270: error: syntax error before '&' token
D:/OpenSource/wx/include/wx/strconv.h:281: error: storage class specified for parameter `wxMBConvUTF16LE'
D:/OpenSource/wx/include/wx/strconv.h:281: error: syntax error before "wxMBConvUTF16"
D:/OpenSource/wx/include/wx/strconv.h:282: error: storage class specified for parameter `wxMBConvUTF32LE'
D:/OpenSource/wx/include/wx/strconv.h:282: error: syntax error before "wxMBConvUTF32"
In file included from D:/OpenSource/wx/include/wx/memory.h:20,
from D:/OpenSource/wx/include/wx/object.h:25,
from D:/OpenSource/wx/include/wx/wx.h:16,
from D:/OpenSource/wx/include/wx/wxprec.h:54,
from ./wx_pch.h:9,
from <command line>:7:
D:/OpenSource/wx/include/wx/string.h:296: error: storage class specified for parameter `value_type'
Process terminated with status 1 (0 minutes, 6 seconds)
52 errors, 62 warnings
Any ideas about above errors???
mandrav:
ac506in,
you have told us nothing about your setup and you constantly bombard us with build logs. Please stop doing that. Take the time and explain us your setup, what did you do, what files you have installed, which documentation you have read for setting things up (wiki?), etc.
The more precise your description is, the more chances you have to get some intelligent help.
ac506in:
Sorry for not giving complete info..
here is that:
I have installed C::B with mingw compiler...
I have build wxwidgets ...Following dir is created
wx\lib\gcc_dll
with some libraries and two dll's wxmsw26_gcc_cb.dll,wxmsw26u_gcc_custom.dll
Now i am trying to compile hello world application and getting the above errors
I did some setting inC::B ..like setting compiler , linker directory options...
I am not sure what might be reason..for above errors...
ac506in:
Is there any good tutorial to start with gcc compiler....
I search wiki and google , but didnt found any good one..
thomas:
--- Quote from: ac506in on August 01, 2006, 01:55:25 pm ---Any ideas about above errors???
--- End quote ---
--pedantic
Navigation
[0] Message Index
[#] Next page
Go to full version