[PATCH] Fix compiler errors on MinGW-w64 due to identifier collision with macros.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
Best regards,
LH_Mouse

Attachment: 0018-gcc-7-branch-Rename-__in-__out-and-__in.patch.gz
Description: application/gzip


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux