+2017-12-05 Jason Merrill <jason@redhat.com>
+ Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/fs_fwd.h (copy, copy_file): Remove noexcept.
+ (permissions): Add noexcept.
+ * include/bits/fs_ops.h (permissions): Add noexcept.
+ * libsupc++/eh_throw.cc (__cxa_init_primary_exception): Add
+ _GLIBCXX_NOTHROW.
+
2017-12-04 Jonathan Wakely <jwakely@redhat.com>
* include/bits/regex_compiler.tcc: Use C-style comment to work around
void copy(const path& __from, const path& __to, copy_options __options);
void copy(const path& __from, const path& __to, copy_options __options,
- error_code&) noexcept;
+ error_code&);
bool copy_file(const path& __from, const path& __to, copy_options __option);
bool copy_file(const path& __from, const path& __to, copy_options __option,
- error_code&) noexcept;
+ error_code&);
path current_path();
file_time_type last_write_time(const path&);
file_time_type last_write_time(const path&, error_code&) noexcept;
- void permissions(const path&, perms, perm_options, error_code&);
+ void permissions(const path&, perms, perm_options, error_code&) noexcept;
path proximate(const path& __p, const path& __base, error_code& __ec);
path proximate(const path& __p, const path& __base, error_code& __ec);
void
permissions(const path& __p, perms __prms, perm_options __opts,
- error_code& __ec);
+ error_code& __ec) noexcept;
inline path proximate(const path& __p, error_code& __ec)
{ return proximate(__p, current_path(), __ec); }
}
extern "C" __cxa_refcounted_exception*
-__cxxabiv1::__cxa_init_primary_exception(void *obj, std::type_info *tinfo,
- void (_GLIBCXX_CDTOR_CALLABI *dest) (void *))
+__cxxabiv1::
+__cxa_init_primary_exception(void *obj, std::type_info *tinfo,
+ void (_GLIBCXX_CDTOR_CALLABI *dest) (void *))
+_GLIBCXX_NOTHROW
{
__cxa_refcounted_exception *header
= __get_refcounted_exception_header_from_obj (obj);