Building CVS head with --with-odbc fails

David Nock davidn at accessitsoftware.com
Mon Jul 2 15:49:43 PDT 2007


As per subject, get the following error:

/Users/davidn/Development/C++/wxcvs/wxWindowsTest_20070703/buildMulti/bk-deps 
g++ -c -o baselib_wfstream.o  -D__WXMAC__     -DWXBUILDING -I../src/tiff 
-I../src/jpeg -I../src/png -I../src/zlib  -I../src/regex 
-I../src/expat/lib -DwxUSE_GUI=0 -DwxUSE_BASE=1 -Wall -Wundef 
-Wno-ctor-dtor-privacy -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_ 
-I/Users/davidn/Development/C++/wxcvs/wxWindowsTest_20070703/buildMulti/lib/wx/include/mac-unicode-release-static-2.9 
-I../include -fpascal-strings -I../src/mac/carbon/morefilex 
-I/Developer/Headers/FlatCarbon -O2 -fno-strict-aliasing -fno-common 
../src/common/wfstream.cpp
../include/wx/db.h: In member function 'const wxChar* 
wxDbConnectInf::GetDescription()':
../include/wx/db.h:342: error: invalid conversion from 'const void*' to 
'const wxChar*'
../include/wx/db.h: In member function 'const wxChar* 
wxDbConnectInf::GetFileType()':
../include/wx/db.h:343: error: invalid conversion from 'const void*' to 
'const wxChar*'
../include/wx/db.h: In member function 'const wxChar* 
wxDbConnectInf::GetDefaultDir()':
../include/wx/db.h:344: error: invalid conversion from 'const void*' to 
'const wxChar*'

Using: Mac OS X 10.4.10 Intel, gcc, wx CVS

Configured wxWidgets 2.9.0 for `i686-apple-darwin8.10.1'

  Which GUI toolkit should wxWidgets use?                 mac
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be compiled in debug mode?             no
  Should wxWidgets be linked as a shared library?         no
  Should wxWidgets support Unicode?                       yes (using 
wchar_t)
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.6      no
                                       wxWidgets 2.8      yes
  Which libraries should wxWidgets use?
                                       jpeg               builtin
                                       png                builtin
                                       regex              builtin
                                       tiff               builtin
                                       zlib               builtin
                                       odbc               sys
                                       expat              builtin
                                       libmspack          no
                                       sdl                no

Dave




More information about the wx-users mailing list