C++11 in LibreOffice

Lubos Lunak l.lunak at suse.cz
Tue Jul 17 02:11:30 PDT 2012

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 .


 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 at suse.cz

More information about the LibreOffice mailing list