...
sdk\as\source\as_bytecode.cpp:1517: warning: unused parameter 'name'
sdk\as\source\as_bytecode.cpp:1517: warning: unused parameter 'module'
sdk\as\source\as_bytecode.cpp:1517: warning: unused parameter 'engine'
...
Compiling: sdk\wxscintilla\src\PlatWX.cpp
In file included from C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/memory.h:20,
from C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/object.h:25,
from C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/wx.h:16,
from sdk\wxscintilla\src\PlatWX.cpp:9:
C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/string.h:58: warning: type attributes are honored only at type definition
C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/string.h:249: warning: type attributes are honored only at type definition
C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/string.h:613: warning: type attributes are honored only at type definition
Compiling: sdk\wxscintilla\src\scintilla\src\Editor.cxx
sdk\wxscintilla\src\scintilla\src\Editor.cxx: In member function `virtual void Editor::NotifyStyleToNeeded(int)':
sdk\wxscintilla\src\scintilla\src\Editor.cxx:3537: warning: missing initializer for member `NotifyHeader::idFrom'
sdk\wxscintilla\src\scintilla\src\Editor.cxx:3537: warning: missing initializer for member `NotifyHeader::code'
sdk\wxscintilla\src\scintilla\src\Editor.cxx:3537: warning: missing initializer for member `SCNotification::position'
sdk\wxscintilla\src\scintilla\src\Editor.cxx:3537: warning: missing initializer for member `SCNotification::ch'
sdk\wxscintilla\src\scintilla\src\Editor.cxx:3537: warning: missing initializer for member `SCNotification::modifiers'
C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/gdicmn.h:41: warning: type attributes are honored only at type definition
In file included from sdk/sdk_common.h:136,
from sdk\sdk_precomp.h:8:
sdk/xtra_res.h:13: warning: type attributes are honored only at type definition
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:28: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksDockEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:100: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksLayoutEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:134: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
Compiling: sdk\as\bindings\const_bindings.cpp
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:28: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksDockEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:100: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksLayoutEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:134: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
Compiling: sdk\as\bindings\sc_io.cpp
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:28: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksDockEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:100: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksLayoutEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:134: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
Compiling: sdk\as\bindings\sc_wxarraystring.cpp
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:28: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
sdk/blockallocated.h: In instantiation of `static void* BlockAllocated<T, pool_size, debug>::operator new(size_t) [with T = CodeBlocksDockEvent, unsigned int pool_size = 75u, bool debug = false]':
sdk/sdk_events.h:100: instantiated from here
sdk/blockallocated.h:123: warning: unused parameter 'size'
...
Process terminated with status 0 (17 minutes, 28 seconds)
50 errors, 2579 warnings
-w Inhibit all warning messages.
warning: type attributes are honored only at type definition
I use MinGW 3.4.5 and see none of these (compiling Code::Blocks more than a dozen time per day).
warning: type attributes are honored only at type definitionwhen i use MinGW gcc 3.4.5,
I'd go crazy if that happened every time (and compiling Code::Blocks would probably take 30 minutes).
The reason I asked about wxWidgets precompiled headers is because I don't think I am generating those when I compile the wxWidgets library becace the newest one is dated 4/19/2005. I want to create the the PCH for the wxWidgets library when I compile it. Is it possible?Yes, but it is neither necessary nor wise. Precompiled headers only work under certain constraints. One such constraint is that you can only use one precompiled header per compilation, and another is that the compiler options (at least most of them) must be identical.
Creating library file: devel\libwxscintilla.a
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x763): In function `ZN11ScintillaWX9StartDragEv':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:230: undefined reference to `sci2wx(char const*, unsigned int)'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x1ae8): In function `ZN11ScintillaWX15CopyToClipboardERK13SelectionText':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:467: undefined reference to `sci2wx(char const*, unsigned int)'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x2520): In function `ZN11ScintillaWX7WndProcEjml':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:657: undefined reference to `Window::SetPositionRelative(PRectangle, Window)'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x2552):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:657: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x258b):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:657: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x25a3):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:658: undefined reference to `Window::Show(bool)'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x2617): In function `ZN11ScintillaWX7DoPaintEP4wxDC6wxRect':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:681: undefined reference to `Surface::Allocate()'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text+0x2677):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:683: undefined reference to `PRectangleFromwxRect(wxRect)'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text$_ZN6WindowC1ERKS_[Window::Window(Window const&)]+0x8): In function `ZN8wxDCBase17SetTextForegroundERK8wxColour':
C:/development/libraries/wxwidgets/wxWidgets26u/wx/include/wx/dc.h: undefined reference to `vtable for Window'
.objs\2.6\sdk\wxscintilla\src\ScintillaWX.o(.text$_ZN12wxSCICallTip7OnPaintER12wxPaintEvent[wxSCICallTip::OnPaint(wxPaintEvent&)]+0x76): In function `ZN15wxSCIDropTarget10OnDragOverEii12wxDragResult':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/ScintillaWX.cpp:54: undefined reference to `Surface::Allocate()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\AutoComplete.o(.text+0x7e): In function `ZNK6Window7CreatedEv':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/AutoComplete.cxx: undefined reference to `ListBox::Allocate()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\AutoComplete.o(.text+0x11e): In function `ZN12AutoCompleteC1Ev':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/AutoComplete.cxx:29: undefined reference to `ListBox::Allocate()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\AutoComplete.o(.text+0x15f): In function `ZN12AutoCompleteD2Ev':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/AutoComplete.cxx:36: undefined reference to `Window::Destroy()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\AutoComplete.o(.text+0x1bb): In function `ZN12AutoCompleteD1Ev':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/AutoComplete.cxx:36: undefined reference to `Window::Destroy()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\AutoComplete.o(.text+0x44d): In function `ZN12AutoComplete4ShowEb':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/AutoComplete.cxx:98: undefined reference to `Window::Show(bool)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\AutoComplete.o(.text+0x4c6): In function `ZN12AutoComplete6CancelEv':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/AutoComplete.cxx:106: undefined reference to `Window::Destroy()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x4f): In function `ZN10PRectangle8ContainsE5Point':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx: undefined reference to `Font::Font()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x45d):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x48d):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x4bd):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx: undefined reference to `Font::~Font()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x50f): In function `ZN7CallTipC1Ev':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:16: undefined reference to `Font::Font()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x8b4): In function `ZN7CallTipD2Ev':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:35: undefined reference to `Font::Release()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x8c2):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:36: undefined reference to `Window::Destroy()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x91b):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x938):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x955):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x972):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x98f):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Font::~Font()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x9bc):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Font::~Font()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xa1a): In function `ZN7CallTipD1Ev':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:35: undefined reference to `Font::Release()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xa28):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:36: undefined reference to `Window::Destroy()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xa81):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xa9e):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xabb):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xad8):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Window::~Window()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xaf5):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Font::~Font()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xb22):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:38: undefined reference to `Font::~Font()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xb5f): In function `ZN7CallTip20RefreshColourPaletteER7Paletteb':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:44: undefined reference to `Palette::WantFind(ColourPair&, bool)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xb7c):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:45: undefined reference to `Palette::WantFind(ColourPair&, bool)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xb99):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:46: undefined reference to `Palette::WantFind(ColourPair&, bool)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xbb6):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:47: undefined reference to `Palette::WantFind(ColourPair&, bool)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0xbd3):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:48: undefined reference to `Palette::WantFind(ColourPair&, bool)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x10b9): In function `ZN7CallTip13PaintContentsEP7Surfaceb':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:131: undefined reference to `Window::GetClientPosition()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x120d):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:155: undefined reference to `Platform::Maximum(int, int)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x1222):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:156: undefined reference to `Platform::Minimum(int, int)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x1242):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:158: undefined reference to `Platform::Maximum(int, int)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x1257):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:159: undefined reference to `Platform::Minimum(int, int)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x13c8):C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:175: undefined reference to `Platform::Maximum(int, int)'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x1401): In function `ZN7CallTip7PaintCTEP7Surface':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:183: undefined reference to `Window::GetClientPosition()'
.objs\2.6\sdk\wxscintilla\src\scintilla\src\CallTip.o(.text+0x16c7): In function `ZN7CallTip12CallTipStartEi5PointPKcS2_iiiR6Window':
C:/development/projects/codeblock/codeblocks/src/sdk/wxscintilla/src/scintilla/src/CallTip.cxx:222: undefined reference to `Surface::Allocate()'
Process terminated with status 1 (0 minutes, 16 seconds)
50 errors, 0 warnings
I just noticed something that might be the cause of a lot of my problems. In the Build Options, directories tab, compilers tab of the code::block project is this directory:
$(#WX)\contrib\include
What is used from the contrib directory? I don't have this in my wx libraries directory. It is in my sandbox. What is used from it, and do I need to compile anything from it before compiling CB?
jmccay
Well C::B used to use STC which was in contrib..... I don't think anything uses it now.......
Well C::B used to use STC which was in contrib..... I don't think anything uses it now.......
It's in the project to be built, and the contrib directory is referenced. Also, It is where I am getting my errors.
jmccay
Nothing is referencing it, and it shouldn't cause a problem. I always deleted the contrib folder after building wxWidgets, and it does not do anything.
The reason why it is still there is because in wxWidgets 2.6.2 and earlier, STC and XRC are found there, so it wouldn't otherwise be possible to build with those versions.
STC still seems to be located under contrib. Do I have to build it seperately?Yes, no.
I was just browsing/searching over at mingw users list, and it seems a patch (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20345) has been applied to fix the warnings, but I am still trying to find out more information. The messages I found were from late 6/2006. Hopefully, this will fix the warning problem, and I can get my hands on a copy of mingw using it.
jmccay