aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/ChangeLog
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-05-17 16:36:25 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-05-17 16:36:25 +0100
commit079638f924714afcadca5e44fdd9248ef00ff434 (patch)
tree6f385b751a3f67c36a37e494ce90641cd2660a50 /libstdc++-v3/ChangeLog
parentff03245e00af4448173fb5c11420876345e832f3 (diff)
downloadgcc-079638f924714afcadca5e44fdd9248ef00ff434.zip
gcc-079638f924714afcadca5e44fdd9248ef00ff434.tar.gz
gcc-079638f924714afcadca5e44fdd9248ef00ff434.tar.bz2
PR libstdc++/85818 ensure path::preferred_separator is defined
Because path.cc is compiled with -std=gnu++17 the static constexpr data member is implicitly 'inline' and so no definition gets emitted unless it gets used in that translation unit. Other translation units built as C++11 or C++14 still require a namespace-scope definition of the variable, so mark the definition as used. PR libstdc++/85818 * src/filesystem/path.cc (path::preferred_separator): Add used attribute. * testsuite/experimental/filesystem/path/preferred_separator.cc: New. From-SVN: r260326
Diffstat (limited to 'libstdc++-v3/ChangeLog')
-rw-r--r--libstdc++-v3/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 142f7c8..bc96d67 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,10 @@
2018-05-17 Jonathan Wakely <jwakely@redhat.com>
+ PR libstdc++/85818
+ * src/filesystem/path.cc (path::preferred_separator): Add used
+ attribute.
+ * testsuite/experimental/filesystem/path/preferred_separator.cc: New.
+
PR libstdc++/85812
* libsupc++/cxxabi_init_exception.h (__cxa_free_exception): Declare.
* libsupc++/exception_ptr.h (make_exception_ptr) [__cpp_exceptions]: