[MacPorts] #40608: pgAdmin3: error: no viable conversion from 'wxString' to 'const wxChar *'

MacPorts noreply at macports.org
Sat Sep 28 02:34:30 PDT 2013


#40608: pgAdmin3: error: no viable conversion from 'wxString' to 'const wxChar *'
---------------------+----------------------
 Reporter:  mojca@…  |      Owner:  jwa@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  pgAdmin3
---------------------+----------------------
 I'm not sure why I only noticed it now, but pgAdmin3 fails to compile
 here:
 {{{
 /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..  -I../pgadmin/include
 -I/opt/unilocal/include -I/opt/unilocal/include/postgresql92
 -I/opt/unilocal/include/postgresql92/server
 -I/opt/unilocal/include/postgresql92 -DSSL -DHAVE_CONNINFO_PARSE
 -I/opt/unilocal/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/lib/wx/include
 /osx_cocoa-unicode-2.9
 -I/opt/unilocal/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/include/wx-2.9
 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__
 -D__WXOSX_COCOA__ -DEMBED_XRC  -arch x86_64
 -I/opt/unilocal/include/libxml2 -I/opt/unilocal/include
 -I/opt/unilocal/include/libxml2  -pipe -Os -arch x86_64 -MT pgAdmin3.o -MD
 -MP -MF .deps/pgAdmin3.Tpo -c -o pgAdmin3.o `test -f './pgAdmin3.cpp' ||
 echo './'`./pgAdmin3.cpp
 ./pgAdmin3.cpp:192:27: error: no viable conversion from 'wxString' to
 'const wxChar *' (aka 'const wchar_t *')
                 dlg->LoadResource(this, dlgName);
                                         ^~~~~~~
 /opt/unilocal/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/include/wx-2.9/wx/string.h:1423:3:
 note: candidate function
   operator wxStringToStdStringRetType() const { return ToStdString(); }
   ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40608>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list