All pastes #443667 Raw Edit

Something

public text v1 · immutable
·published 2007-04-16 22:28 UTC
rendered paste body
$ make
g++ `wx-config --cppflags` -g  -c -o objects.o objects.cpp
g++ `wx-config --cppflags` -g  `wx-config --libs` -o main main.cpp objects.o
main.cpp: In member function ‘virtual bool AgApp::OnInit()’:
main.cpp:70: error: conversion from ‘const char [17]’ to ‘const wxString’ is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp: In constructor &#8216;AgFrame::AgFrame(const wxString&, const wxPoint&, const wxSize&)&#8217;:
main.cpp:86: error: conversion from &#8216;const char [9]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp:87: error: conversion from &#8216;const char [8]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp:89: error: conversion from &#8216;const char [7]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp:92: error: conversion from &#8216;const char [12]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp:95: error: conversion from &#8216;const char [8]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp:96: error: conversion from &#8216;const char [10]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp:101: error: conversion from &#8216;const char [28]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp: In member function &#8216;void AgFrame::OnAbout(wxCommandEvent&)&#8217;:
main.cpp:200: error: conversion from &#8216;const char [63]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
main.cpp:200: error: conversion from &#8216;const char [23]&#8217; to &#8216;const wxString&#8217; is ambiguous
/usr/include/wx-2.6/wx/string.h:643: note: candidates are: wxString::wxString(wxChar, size_t) <near match>
/usr/include/wx-2.6/wx/string.h:633: note:                 wxString::wxString(int) <near match>
make: *** [main] Error 1