nixpkgs/pkgs/development/compilers/llvm/3.7
Dmitry Kalinkin e9d60c5636
libc++3.7: fix to use with modern compilers
Modern compiler will issue a following error whenever '#include <string>'
is done:

/nix/store/yxpwamjdapjcp53mmsdh1j2c9bc26h4k-libc++-3.7.1/include/c++/v1/string:1938:44:
error: 'basic_string<_CharT, _Traits, _Allocator>' is missing exception specification 'noexcept(is_nothrow_copy_constructible<allocator_type>::value)'
basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
                                           ^
/nix/store/yxpwamjdapjcp53mmsdh1j2c9bc26h4k-libc++-3.7.1/include/c++/v1/string:1326:40:
note: previous declaration is here
    _LIBCPP_INLINE_VISIBILITY explicit basic_string(const allocator_type& __a)
                                       ^
1 error generated.

This happens because modern clang is more strict about checking
exception specification for forward declaration and definition.

http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/string?r1=242056&r2=242623&diff_format=h
2016-12-30 16:16:14 -05:00
..
clang Remove redundant -DCMAKE_BUILD_TYPE=Release flags 2016-10-01 16:13:41 +02:00
libc++ libc++3.7: fix to use with modern compilers 2016-12-30 16:16:14 -05:00
default.nix Add libcxxStdenv attribute to recent llvm package sets 2016-10-25 10:29:40 -04:00
libc++abi.nix llvm: 3.7.0 -> 3.7.1 (close #12200) 2016-01-07 11:12:54 +01:00
lldb.nix llvmPackages*.lldb: fixup input by disabling libedit 2016-11-28 19:02:15 +01:00
llvm.nix llvm 3.7: use python2 2016-10-18 23:16:03 +02:00