Liu Hao
2017-05-18 15:37:16 UTC
The attached patch was generated by running the following command in GCC
source tree cloned from git://gcc.gnu.org/git/gcc.git :
-----------------------------------------------------------
$ git checkout gcc-7-branch
$ nano libstdc++-v3/doc/xml/manual/appendix_contributing.xml
# Append the following three lines after 'MS adds:' '_T'
# __in
# __out
# __inout
$ sed -i -r 's/\b__(in|out|inout)\b/__arg_\1/g' `grep -Erl
'\b__(in|out|inout)\b' libstdc++-v3/{include,config,src,testsuite} |
sort -u`
$ git commit -s libstdc++-v3
$ git format-patch HEAD~1
-----------------------------------------------------------
So far I have bootstrapped GCC 7.1.1 for {i686,x86_64}-w64-mingw32 with
C, C++ and LTO enabled. Please test other languages.
source tree cloned from git://gcc.gnu.org/git/gcc.git :
-----------------------------------------------------------
$ git checkout gcc-7-branch
$ nano libstdc++-v3/doc/xml/manual/appendix_contributing.xml
# Append the following three lines after 'MS adds:' '_T'
# __in
# __out
# __inout
$ sed -i -r 's/\b__(in|out|inout)\b/__arg_\1/g' `grep -Erl
'\b__(in|out|inout)\b' libstdc++-v3/{include,config,src,testsuite} |
sort -u`
$ git commit -s libstdc++-v3
$ git format-patch HEAD~1
-----------------------------------------------------------
So far I have bootstrapped GCC 7.1.1 for {i686,x86_64}-w64-mingw32 with
C, C++ and LTO enabled. Please test other languages.
--
Best regards,
LH_Mouse
Best regards,
LH_Mouse