This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
* include/std/version (__cpp_lib_bind_front): Add missing macro. Tested x86_64-linux, committed to trunk. I'll backport t his to gcc-9-branch too. This missing macro was found by the following script I used for testing an installed compiler: #!/bin/sh : ${CXX:=$HOME/gcc/latest/bin/g++} for dialect in c++ gnu++ do for i in 98 11 14 17 2a; do echo ===$dialect$i=== echo '#include <bits/stdc++.h>' | $CXX -D_GLIBCXX_VERSION_INCLUDED -E -std=$dialect$i -dD -xc++ - | grep '^[[:blank:]]*#[[:blank:]]*define[[:blank:]]*__cpp_' | sort -u > /tmp/perfilemacros echo '#include <version>' | $CXX -E -std=$dialect$i -dD -xc++ - | grep '^[[:blank:]]*#[[:blank:]]*define[[:blank:]]*__cpp_' | sort -u > /tmp/versionmacros diff -up /tmp/perfilemacros /tmp/versionmacros done done
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |