[ wxwindows-Bugs-1633831 ] Compilations fails on OSX with --disable-toolbar

SourceForge.net noreply at sourceforge.net
Fri Jan 12 00:01:44 PST 2007


Bugs item #1633831, was opened at 2007-01-12 08:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1633831&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: Must fix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marc Esipovich (marcsparc)
Assigned to: Stefan Csomor (csomor)
Summary: Compilations fails on OSX with --disable-toolbar

Initial Comment:
Hello,

wx 2.8.0 does not compile with the following configure line:

./configure --with-zlib --with-expat --with-libpng --with-libjpeg --with-libtiff --with-libxpm --enable-threads --enable-xpm --enable-unicode --enable-intl --disable-memory_tracing --disable-debug --disable-debug_info --disable-debug_cntxt --disable-mem_tracing --enable-exceptions --disable-no_exceptions --disable-toolbar

--disable-toolbar causes compilation to break with the following output:

/Volumes/Untitled2/wxMac-2.8.0/bk-deps g++ -c -o corelib_toolbkg.o -I.pch/wxprec
_corelib -D__WXMAC__     -I./src/tiff -I./src/jpeg -I./src/png   -I./src/regex -
I./src/expat/lib -DwxUSE_BASE=0 -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FIL
ES -I/Volumes/Untitled2/wxMac-2.8.0/lib/wx/include/mac-unicode-release-static-2.
8 -I./include -fpascal-strings -I./src/mac/carbon/morefilex -I/Developer/Headers
/FlatCarbon -Wall -Wundef -Wno-ctor-dtor-privacy -ggdb -pg -O2 -fno-strict-alias
ing -fno-common ./src/generic/toolbkg.cpp
./src/generic/toolbkg.cpp: In member function 'bool wxToolbook::Create(wxWindow*
, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&)':
./src/generic/toolbkg.cpp:121: error: invalid use of undefined type 'struct wxTo
olBar'
./include/wx/frame.h:28: error: forward declaration of 'struct wxToolBar'
./src/generic/toolbkg.cpp: In member function 'virtual wxSize wxToolbook::GetCon
trollerSize() const':
./src/generic/toolbkg.cpp:135: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual bool wxToolbook::SetPageT
ext(size_t, const wxString&)':
./src/generic/toolbkg.cpp:186: error: 'wxToolBarToolBase' was not declared in th
is scope
./src/generic/toolbkg.cpp:186: error: 'tool' was not declared in this scope
./src/generic/toolbkg.cpp:186: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual wxString wxToolbook::GetP
ageText(size_t) const':
./src/generic/toolbkg.cpp:198: error: 'wxToolBarToolBase' was not declared in th
is scope
./src/generic/toolbkg.cpp:198: error: 'tool' was not declared in this scope
./src/generic/toolbkg.cpp:198: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual bool wxToolbook::SetPageI
mage(size_t, int)':
./src/generic/toolbkg.cpp:218: error: 'wxToolBarToolBase' was not declared in th
is scope
./src/generic/toolbkg.cpp:218: error: 'tool' was not declared in this scope
./src/generic/toolbkg.cpp:218: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual void wxToolbook::UpdateSe
lectedPage(size_t)':
./src/generic/toolbkg.cpp:261: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'void wxToolbook::Realize()':
./src/generic/toolbkg.cpp:270: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp:274: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual int wxToolbook::HitTest(c
onst wxPoint&, long int*) const':
./src/generic/toolbkg.cpp:302: error: invalid use of undefined type 'const struc
t wxToolBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'const struct wxToolBa
rBase'
./src/generic/toolbkg.cpp:305: error: invalid use of undefined type 'const struc
t wxToolBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'const struct wxToolBa
rBase'
./src/generic/toolbkg.cpp:307: error: expected initializer before '*' token
./src/generic/toolbkg.cpp:310: error: 'tool' was not declared in this scope
./src/generic/toolbkg.cpp:312: error: invalid use of undefined type 'const struc
t wxToolBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'const struct wxToolBa
rBase'
./src/generic/toolbkg.cpp: In member function 'virtual bool wxToolbook::InsertPa
ge(size_t, wxWindow*, const wxString&, bool, int)':
./src/generic/toolbkg.cpp:367: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp:368: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp:372: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual wxWindow* wxToolbook::DoR
emovePage(size_t)':
./src/generic/toolbkg.cpp:389: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual bool wxToolbook::DeleteAl
lPages()':
./src/generic/toolbkg.cpp:414: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'void wxToolbook::OnToolSelected(w
xCommandEvent&)':
./src/generic/toolbkg.cpp:439: error: invalid use of undefined type 'struct wxTo
olBarBase'
./include/wx/toolbook.h:21: error: forward declaration of 'struct wxToolBarBase'
./src/generic/toolbkg.cpp: In member function 'virtual bool wxToolbook::SetPageT
ext(size_t, const wxString&)':
./src/generic/toolbkg.cpp:194: warning: control reaches end of non-void function
./src/generic/toolbkg.cpp: In member function 'virtual wxString wxToolbook::GetP
ageText(size_t) const':
./src/generic/toolbkg.cpp:203: warning: control reaches end of non-void function
./src/generic/toolbkg.cpp: In member function 'virtual bool wxToolbook::SetPageI
mage(size_t, int)':
./src/generic/toolbkg.cpp:228: warning: control reaches end of non-void function
make: *** [corelib_toolbkg.o] Error 1

If any further testing or information is needed, please contact me through email.

Thanks!


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1633831&group_id=9863




More information about the wx-dev mailing list