aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-05-23 09:00:16 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-05-23 09:40:16 +0100
commit00c8f2a5e3a21d93a03182cacbae4badc02a37f1 (patch)
tree1170ab3f56443d41d55df17e89788015689a2244 /gcc/ada/gcc-interface/misc.c
parent988b853f9c829742907ae22ac66de56facfc7bc5 (diff)
downloadgcc-00c8f2a5e3a21d93a03182cacbae4badc02a37f1.zip
gcc-00c8f2a5e3a21d93a03182cacbae4badc02a37f1.tar.gz
gcc-00c8f2a5e3a21d93a03182cacbae4badc02a37f1.tar.bz2
libstdc++: Remove incorrect static specifiers
These functions were originally static members of the path class, but the 'static' specifiers were not removed when they were moved to namespace scope. This causes ODR violations when the functions are called from functions defined in the header, which is incompatible with Nathan's modules branch. Change them to 'inline' instead. * include/bits/fs_path.h (__detail::_S_range_begin) (__detail::_S_range_end): Remove unintentional static specifiers. * include/experimental/bits/fs_path.h (__detail::_S_range_begin) (__detail::_S_range_end): Likewise.
Diffstat (limited to 'gcc/ada/gcc-interface/misc.c')
0 files changed, 0 insertions, 0 deletions