We are in the need of support of c++17 standard in our VS project but one of 
included podofo headers uses std::auto_ptr. This patch handles both pre c++11 
and c++17 standards support with help of __cplusplus.

Visual Studio:
For correct values of __cplusplus you need to add /Zc:__cplusplus into 
Additional Options on C/C++/Command Line property page in Visual Studio project 
settings. In VS older than 2017 __cplusplus is always set to 199711L (C++98 
Standard).

 


Attachment: Compatibility_with_booth_pre_c++11_and_c++17_compilers.patch
Description: Binary data

_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to