Menu

#18 Patch to improve compatibility with C++11

v1.0_(example)
closed-fixed
nobody
None
5
2015-10-25
2015-10-25
No

The attached patch fixes to issues that prevent to build potrace with a C++11 compiler:
functions returning string constants (like potrace_version) should be of type const char* rather than const*
additional spaces are required when concatenating string constants and string macros (due to the new concept of string literals)

1 Attachments

Discussion

  • Peter Selinger

    Peter Selinger - 2015-10-25
    • status: open --> closed-fixed
     
  • Peter Selinger

    Peter Selinger - 2015-10-25

    Thansk! Will be fixed in the next release.

     

Log in to post a comment.