Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 08/06/2012 09:57 AM, John Smith wrote:
I submitted a bug report : http://llvm.org/bugs/show_bug.cgi?id=13530

Hm, -std=gnu++11 should be disabled for Clang on Fedora 17 (i.e., against GCC 4.7 headers) in LO due to <http://cgit.freedesktop.org/libreoffice/core/commit/?id=85b35ac289f661f64cdddd145deaf419f61f5d4c> "Detect failing Clang with GCC 4.7 headers and --std=gnu++0x scenarios."

I had originally designed that changeset when using a home-built "clang version 3.1 (tags/RELEASE_31/final 160361)" (where I stumbled over the problem in some C++ code that included <vector>, so I used that in the check). From your bug I see you are using a "clang version 3.2 (trunk 161295)," so I now retried with a fresh home-built Clang trunk ("clang version 3.2 (trunk 161398)"), and both of my Clang versions consistently fail to compile both

  #include <vector>

and

  #include <iostream>

(in each case choking on "use of undeclared identifier '__float128'").

So I am not sure why your LO build tries to use --std=gnu++0x at all.

Stephan

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.