Menu

#60 features.h is clashing with standard library include files on Linux

0.5.0
closed-fixed
nobody
None
5
2015-03-06
2013-05-27
emonette123
No

When compiling on Linux, standard library string.h will include features.h and the one from json will most likely be fetch of json is in the include file path (compiling using -Ijson). This means json may never be in the include path and users should always include json using the json path. Not nice, it would be better to rename features.h to something like json_features.h.

Discussion

  • Christopher Dunn

    We now use #include "features.h", so this should not be a problem: https://github.com/open-source-parsers/jsoncpp/

     
  • Christopher Dunn

    • status: open --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.