wxListCtrl wxMac 2.8.0
Dave & Diane
daveanddiane at kringlecottage.com
Tue Dec 19 20:53:20 PST 2006
Hi,
I'm having trouble building wxMac-2.8.0. I keep getting errors in listctrl:
/Users/davetrollope/src/wxMac-2.8.0/bk-deps g++ -c -o
corelib_listctrl_mac.o -I.pch/wxprec_corelib -D__WXMAC__
-I./src/tiff -I./src/jpeg -I./src/png -I./src/expat/lib
-DwxUSE_BASE=0 -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D__WXDEBUG__
-I/Users/davetrollope/src/wxMac-2.8.0/lib/wx/include/mac-ansi-debug-static-2.8
-I./include -fpascal-strings -I./src/mac/carbon/morefilex
-I/Developer/Headers/FlatCarbon -Wall -Wundef -Wno-ctor-dtor-privacy
-ggdb -O0 -fno-common ./src/mac/carbon/listctrl_mac.cpp
./src/mac/carbon/listctrl_mac.cpp: In member function 'long int
wxListCtrl::InsertItem(wxListItem&)':
./src/mac/carbon/listctrl_mac.cpp:1886: warning: unused variable 'dataItem'
./src/mac/carbon/listctrl_mac.cpp: In member function 'virtual void
wxMacDataBrowserListCtrlControl::DrawItem(DataBrowserItemID,
DataBrowserPropertyID, DataBrowserItemState, const Rect*, SInt16, Boolean)':
./src/mac/carbon/listctrl_mac.cpp:2616: warning: 'TextSize' is
deprecated (declared at
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h:420)
./src/mac/carbon/listctrl_mac.cpp:2616: warning: 'TextSize' is
deprecated (declared at
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h:420)
./src/mac/carbon/listctrl_mac.cpp:2617: warning: 'TextFace' is
deprecated (declared at
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h:396)
./src/mac/carbon/listctrl_mac.cpp:2617: warning: 'TextFace' is
deprecated (declared at
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawText.h:396)
./src/mac/carbon/listctrl_mac.cpp: In constructor
'wxMacListCtrlItem::wxMacListCtrlItem()':
./src/mac/carbon/listctrl_mac.cpp:3012: error: no matching function for
call to 'wxListItemList::wxListItemList(wxKeyType)'
./src/mac/carbon/listctrl_mac.cpp:116: note: candidates are:
wxListItemList::wxListItemList()
./src/mac/carbon/listctrl_mac.cpp:116: note:
wxListItemList::wxListItemList(const wxListItemList&)
./src/mac/carbon/listctrl_mac.cpp: In member function 'virtual
wxListItem* wxMacListCtrlItem::GetColumnInfo(unsigned int)':
./src/mac/carbon/listctrl_mac.cpp:3052: error: invalid conversion from
'unsigned int' to 'const wxListItem*'
./src/mac/carbon/listctrl_mac.cpp:3052: error: initializing argument 1
of 'wxListItemList::compatibility_iterator wxListItemList::Find(const
wxListItem*) const'
./src/mac/carbon/listctrl_mac.cpp: In member function 'virtual bool
wxMacListCtrlItem::HasColumnInfo(unsigned int)':
./src/mac/carbon/listctrl_mac.cpp:3060: error: invalid conversion from
'unsigned int' to 'const wxListItem*'
./src/mac/carbon/listctrl_mac.cpp:3060: error: initializing argument 1
of 'wxListItemList::compatibility_iterator wxListItemList::Find(const
wxListItem*) const'
./src/mac/carbon/listctrl_mac.cpp:3060: warning: converting to
non-pointer type 'int' from NULL
./src/mac/carbon/listctrl_mac.cpp:3060: warning: NULL used in arithmetic
./src/mac/carbon/listctrl_mac.cpp: In member function 'virtual void
wxMacListCtrlItem::SetColumnInfo(unsigned int, wxListItem*)':
./src/mac/carbon/listctrl_mac.cpp:3069: error: no matching function for
call to 'wxListItemList::Append(unsigned int&, wxListItem*&)'
./src/mac/carbon/listctrl_mac.cpp:116: note: candidates are:
wxListItemList::compatibility_iterator wxListItemList::Append(wxListItem*)
make: *** [corelib_listctrl_mac.o] Error 1
DavesMacMini:~/src/wxMac-2.8.0 davetrollope$
DavesMacMini:~/src/wxMac-2.8.0 davetrollope$ ./wx-config --libs
--basename --cc --cppflags --cflags -cxxflags --cxx
wx_macd
gcc
g++
-I/Users/davetrollope/src/wxMac-2.8.0/lib/wx/include/mac-ansi-debug-static-2.8
-I/Users/davetrollope/src/wxMac-2.8.0/include
-I/Users/davetrollope/src/wxMac-2.8.0/contrib/include
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__
-I/Users/davetrollope/src/wxMac-2.8.0/lib/wx/include/mac-ansi-debug-static-2.8
-I/Users/davetrollope/src/wxMac-2.8.0/include
-I/Users/davetrollope/src/wxMac-2.8.0/contrib/include
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__
-L/Users/davetrollope/src/wxMac-2.8.0/lib -framework QuickTime
-framework IOKit -framework Carbon -framework Cocoa -framework System
-cxxflags
/Users/davetrollope/src/wxMac-2.8.0/lib/libwx_macd_-cxxflags-2.8.a
/Users/davetrollope/src/wxMac-2.8.0/lib/libwx_base_carbond-2.8.a
-cxxflags -lwxexpatd-2.8 -lwxtiffd-2.8 -lwxjpegd-2.8 -lwxpngd-2.8 -lz
-lpthread -liconv
DavesMacMini:~/src/wxMac-2.8.0 davetrollope$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8
--with-arch=pentium-m --with-tune=prescott --program-prefix=
--host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)
This is on an Intel Mac Mini Core Solo.
I'd appreciate some direction on this.
Cheers
Dave
--
Diane & Dave
http://www.velvetstarbears.com/ http://www.kringlecottage.com/
Fortune: The difference between America and England is that the
English think 100 miles is a long distance and the Americans
think 100 years is a long time.
More information about the wx-users
mailing list