On 11 May 2015, سليمان السهمي wrote:

> Is C++11 allowed in PySide/Shiboken codebase?

   On Windows, standard Python distributions build with particular compilers: 
Python 2.7 with MSVC 2008, Python 3.4 with MSVC 2010. Python 3.5 will likely 
use MSVC 2015. Many elements of C++11 are not available with MSVC 2008 and 
2010. It is possible to build your own Python interpreter with a newer version 
of MSVC but that won’t import extensions compiled with a different compiler.

   PySide must be built with the same compiler as the Python interpreter it is 
to be used with. If it is intended that PySide can be used with the standard 
Python distributions then it is constrained to only those C++11 features 
supported by MSVC 2008. Or MSVC 2010 if Python 2.7 support is dropped.

   There are several online tables comparing the C++11 support of different 
compilers. Here are some comparisons of MSVC versions:
http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx
http://blogs.msdn.com/b/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx
 
<http://blogs.msdn.com/b/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx>

   Neil

_______________________________________________
PySide mailing list
PySide@qt-project.org
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to