Opened 6 years ago

Closed 6 years ago

#40608 closed defect (fixed)

pgAdmin3: error: no viable conversion from 'wxString' to 'const wxChar *'

Reported by: mojca (Mojca Miklavec) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: pgAdmin3

Description

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(); }
  ^

Attachments (1)

pgAdmin3.log (72.4 KB) - added by mojca (Mojca Miklavec) 6 years ago.
build log for pgAdmin3

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by mojca (Mojca Miklavec)

Attachment: pgAdmin3.log added

build log for pgAdmin3

comment:1 Changed 6 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

Commit r112213 for #40694 seems to have solved the problem.

Note: See TracTickets for help on using tickets.