Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 build stop at stringutil.h and telnetcon.cpp on solaris

open
nobody
None
5
2014-08-12
2008-03-28
Halton Huo
No

Check out latest trunk code, build on solaris with Studio 12 CC

/ws/onnv-tools-prc/SUNWspro/SS12/bin/CC -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"PCManX-src\" -DVERSION=\"0.1.8.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -mt -D_REENTRANT -g -c -o telnetcon.o telnetcon.cpp
"termview.h", line 112: Warning: CTermView::PrepareDC hides the virtual function wxWindowBase::PrepareDC(wxDC&).
"stringutil.h", line 18: Error: Could not find a match for EscapeStr(const wchar_t*) needed in EscapeStr(wxString&).
"stringutil.h", line 19: Error: Could not find a match for UnEscapeStr(const wchar_t*) needed in UnEscapeStr(wxString&).
"stringutil.h", line 23: Error: Could not find a match for ConvertFromCRLF(const wchar_t*) needed in ConvertFromCRLF(wxString&).
"stringutil.h", line 24: Error: Could not find a match for ConvertToCRLF(const wchar_t*) needed in ConvertToCRLF(wxString&).
"appconfig.h", line 44: Warning: Questionable return type for CSiteArray::reverse_iterator::operator->() const.
"appconfig.h", line 44: Warning: Questionable return type for CSiteArray::const_reverse_iterator::operator->() const.
"telnetcon.cpp", line 242: Error: Could not find a match for UnEscapeStr(const wchar_t*) needed in CTelnetCon::OnTimer().
"telnetcon.cpp", line 243: Error: Could not find a match for CTelnetCon::SendString(const wchar_t*, unsigned) needed in CTelnetCon::OnTimer().
"telnetcon.cpp", line 266: Error: Cannot use const wchar_t* to initialize const char*.
"telnetcon.cpp", line 267: Error: Cannot use const wchar_t* to initialize const char*.
"telnetcon.cpp", line 268: Error: Cannot use const wchar_t* to initialize const char*.
"telnetcon.cpp", line 284: Error: Cannot use const wchar_t* to initialize const char*.
"telnetcon.cpp", line 285: Error: Cannot use const wchar_t* to initialize const char*.
"telnetcon.cpp", line 286: Error: Cannot use const wchar_t* to initialize const char*.
"telnetcon.cpp", line 290: Error: Cannot use const char* to initialize wxString.
"telnetcon.cpp", line 291: Error: The left operand cannot be assigned to.
"telnetcon.cpp", line 310: Error: Formal argument szOld of type const wchar_t* in call to wxString::Replace(const wchar_t*, const wchar_t*, bool) is being passed const char*.
"telnetcon.cpp", line 310: Error: Formal argument szNew of type const wchar_t* in call to wxString::Replace(const wchar_t*, const wchar_t*, bool) is being passed const char*.
"telnetcon.cpp", line 311: Error: Could not find a match for CTelnetCon::SendString(const wchar_t*, unsigned) needed in CTelnetCon::SendString(wxString).
"telnetcon.cpp", line 324: Error: Formal argument 1 of type const char* in call to std::atoi(const char*) is being passed const wchar_t*.
18 Error(s) and 3 Warning(s) detected.

Discussion

  • Halton Huo
    Halton Huo
    2008-03-28

    patch for this bug

     
  • Halton Huo
    Halton Huo
    2008-03-28

    Logged In: YES
    user_id=1569662
    Originator: YES

    File Added: pcmanx-02-telenetcon.diff