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


On Mon, Aug 6, 2012 at 9:08 AM, Stephan Bergmann <sbergman@redhat.com> wrote:

That smells like "On recent Fedora 17, the included Clang (3.0) is unusable
due to clang++ chokes on <complex>. However, a home-built Clang 3.1 works
fine."
(<https://wiki.documentfoundation.org/Development/Building_LibreOffice_with_Clang#Setup>)


Stephan

Hrm. I did some googling, and I doubt that it's the same bug. This one
occurs with something like this :

# cat test.cpp
#include <iostream>

int main() {
    std::cout << "Hello, world!" << std::endl;
}

# clang++ test.cpp -o test -std=gnu++11
In file included from test.cpp:1:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/iostream:39:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ostream:39:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ios:40:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/char_traits.h:40:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/stl_algobase.h:65:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/stl_pair.h:61:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/move.h:57:
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/type_traits:256:39:
error: use of undeclared identifier '__float128'
    struct __is_floating_point_helper<__float128>
                                      ^
1 error generated.



I submitted a bug report : http://llvm.org/bugs/show_bug.cgi?id=13530



John Smith.

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.