#26 many c++ warnings

closed-fixed
nobody
None
5
2009-07-19
2008-10-27
edacval
No

when compiling,c++ produces many warnings about deprecated header

Additional info:
ArchLinux,gcc 4.3.2,pycxx 5.4.2,python 2.5.2.

buildlog attached.

Discussion

  • edacval
    edacval
    2008-10-27

    buildlog

     
  • edacval
    edacval
    2008-10-27

    A list of valid replacements

     
    Attachments
  • galtgendo
    galtgendo
    2008-10-28

    Well, it all comes from using gcc 4.3.
    It seems that the cleanest solution is to add additional #ifdef for that version
    and to include <tr1/unordered_map> and use namespace std::tr1, as
    including simply <unordered_map> results in other warnings.
    It seems to build fine with those changes.

     
  • galtgendo
    galtgendo
    2008-10-28

    The 'deprecated conversion' warnings will stay as they come from python headers.

     
  • galtgendo
    galtgendo
    2008-10-28

    Except of course those from pysvn_client_cmd_export.cpp, where char* may be simply changed to const char*.

     
    • status: open --> open-fixed
     
  • PyCXX will not use hash_map from version 6.1.0 - changes are on trunk

     
    • status: open-fixed --> closed-fixed