summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2016-12-30 15:58:03 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2016-12-30 16:16:14 -0500
commite9d60c5636a8ba2a9685a741d06641a4b86398f9 (patch)
treed12e57dcaa148a2911949a2e45629a34586afb91 /pkgs/applications/science
parent2cac3742415a1fd32438be8bb4300a9ceb5d7dd6 (diff)
downloadnixlib-e9d60c5636a8ba2a9685a741d06641a4b86398f9.tar
nixlib-e9d60c5636a8ba2a9685a741d06641a4b86398f9.tar.gz
nixlib-e9d60c5636a8ba2a9685a741d06641a4b86398f9.tar.bz2
nixlib-e9d60c5636a8ba2a9685a741d06641a4b86398f9.tar.lz
nixlib-e9d60c5636a8ba2a9685a741d06641a4b86398f9.tar.xz
nixlib-e9d60c5636a8ba2a9685a741d06641a4b86398f9.tar.zst
nixlib-e9d60c5636a8ba2a9685a741d06641a4b86398f9.zip
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
Diffstat (limited to 'pkgs/applications/science')
0 files changed, 0 insertions, 0 deletions