Tencent / rapidjson

A fast JSON parser/generator for C++ with both SAX/DOM style API
http://rapidjson.org/
Other
14.03k stars 3.51k forks source link

Compatibility of Rapid Json with c++11 and c++14 #1819

Open nsingh140 opened 3 years ago

nsingh140 commented 3 years ago

we are using platform "SUSE Linux Enterprise Server 15 SP1 (x86_64-suse-linux ) " and gcc/g++ version 7.5.0 to compile our application. (not Windows). Also we are using RapidJson version 1.1.0 in our application for DOM/SAX .

Currently, our application is getting compiled with C++98 standard with ABI flag disabled( -std=gnu++98 -D_GLIBCXX_USE_CXX11_ABI=0 ) .

Now we are planning to migrate our application to C++11 (or may be C++14) standard with ABI flag enabled (-std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=1) or (-std=gnu++14 -D_GLIBCXX_USE_CXX11_ABI=1).

We want to know do RapidJson library compatible with C++11 (or C++14) standard with ABI flag enabled (-std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=1)?

miloyip commented 3 years ago

You may try to compile and run the unit tests under your configuration to confirm this.