Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e9d60c5636a8ba2a9685a741d06641a4b86398f9
      
https://github.com/NixOS/nixpkgs/commit/e9d60c5636a8ba2a9685a741d06641a4b86398f9
  Author: Dmitry Kalinkin <dmitry.kalin...@gmail.com>
  Date:   2016-12-30 (Fri, 30 Dec 2016)

  Changed paths:
    M pkgs/development/compilers/llvm/3.7/libc++/default.nix
    A pkgs/development/compilers/llvm/3.7/libc++/r242056.patch

  Log Message:
  -----------
  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


  Commit: c7bcb99ff266a8fc93ced3f4205ca305ec2e9186
      
https://github.com/NixOS/nixpkgs/commit/c7bcb99ff266a8fc93ced3f4205ca305ec2e9186
  Author: Dmitry Kalinkin <dmitry.kalin...@gmail.com>
  Date:   2017-01-01 (Sun, 01 Jan 2017)

  Changed paths:
    M pkgs/applications/science/misc/root/default.nix
    M pkgs/applications/science/misc/root/sw_vers.patch

  Log Message:
  -----------
  root: 6.04.18 -> 6.08.02

This relies on
e9d60c56 ('libc++3.7: fix to use with modern compilers')


  Commit: 2bb33130cc3a00a8fb1a6afb341cf31079061e5a
      
https://github.com/NixOS/nixpkgs/commit/2bb33130cc3a00a8fb1a6afb341cf31079061e5a
  Author: Daiderd Jordan <daid...@gmail.com>
  Date:   2017-01-02 (Mon, 02 Jan 2017)

  Changed paths:
    M pkgs/applications/science/misc/root/default.nix
    M pkgs/applications/science/misc/root/sw_vers.patch
    M pkgs/development/compilers/llvm/3.7/libc++/default.nix
    A pkgs/development/compilers/llvm/3.7/libc++/r242056.patch

  Log Message:
  -----------
  Merge pull request #21541 from veprbl/libcpp37

libc++3.7: fix to use with clang 3.9


Compare: https://github.com/NixOS/nixpkgs/compare/c2752f8228b2...2bb33130cc3a
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to