C++11 Migration
From Synfig Studio :: Documentation
(creation : copy paste from #904 tracker report comments) |
m (→Useful information about C++11 Migration: fix list) |
||
Line 16: | Line 16: | ||
==Useful information about C++11 Migration== | ==Useful information about C++11 Migration== | ||
− | General information about C++11 : [http://www.stroustrup.com/C++11FAQ.html Stroustrup.b C++11 FAQ] | + | * General information about C++11 : [http://www.stroustrup.com/C++11FAQ.html Stroustrup.b C++11 FAQ] |
− | https://devcentral.f5.com/articles/case-study-linerates-c98-to-c11-migration | + | * https://devcentral.f5.com/articles/case-study-linerates-c98-to-c11-migration |
Revision as of 11:10, 21 January 2016
Have a look to C++11Support branch for progress.
Enable C++ Support
- DONE : ADD to both "synfig-core/m4/" and "synfig-studio/m4/" the "ax_cxx_compile_stdcxx.m4" "and ax_cxx_compile_stdcxx_11.m4" directives from https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
- DONE : synfig-core and synfig-studio / configure.ac : AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
Fix Code to be compliant
- DONE : replace isnan , isinf by std::isnan , std::isinf
- replace NULL/0 by nullptr (BOOST MACRO)
- update sigc++
- FIXED : "lvalue required as unary '&' operand" errors (info [1] [2] [3] )
Useful information about C++11 Migration
- General information about C++11 : Stroustrup.b C++11 FAQ
- https://devcentral.f5.com/articles/case-study-linerates-c98-to-c11-migration