On Tuesday 17 of July 2012, Stephan Bergmann wrote:
On 07/16/2012 06:53 PM, Kohei Yoshida wrote:
The most problematic ones are the gcc compiler used on Mac OS X (gcc
4.0?), and MSVC 2008 compilers. If you (or someone else equally
interested) are willing to research those two compilers to see what
subset of C++11 features they support (if at all), then I don't see
why we shouldn't use those features.
<http://wiki.apache.org/stdcxx/C++0xCompilerSupport> is a useful source.
Also http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx .
Summary:
The first version to have something interesting (lambda expressions, rvalue
references, static_assert) is MSVC2010. Range-based for loop is MSVC2012,
which has only RC out by now, and requires Window7+. Some stuff, such as
variadic templates or delegating ctors, are not there at all.
So, as long as we require to build LO with MSVC, we can revisit the question
of hard-depending on C++11 in, uhm, let's be optimistic and say 3 years. IOW,
we can probably get there faster by ditching backwards ABI compatibility with
LO4 and switching to a different compiler for Windows.
--
Lubos Lunak
l.lunak@suse.cz
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.