jmeubank / tdm-gcc-src

GCC sources for the TDM GCC releases
GNU General Public License v2.0
138 stars 22 forks source link

mingw32-float.h.patch problem #1

Closed revelator closed 3 years ago

revelator commented 4 years ago

Welcome back m8 :)

The mingw32-float.h.patch gets circumvented by changes to gcc's build chain which now uses a sed script to do allmost the same as your patch, so we end up with two #include_next.

One from your patch and another unguarded one from the sed script.

`#if defined (MINGW32) && ! defined (_MINGW_FLOATH) /* MinGW.org's runtime libraries provide a supplementary float.h, which

endif / _FLOAT_H___ /

include_next `

jmeubank commented 4 years ago

I'm missing some context here, what version of what file in what package is this happening in?

Nevermind, spotted it in lib\gcc\x86_64-w64-mingw32\9.2.0\include\float.h.

revelator commented 4 years ago

exactly ;) the guard gets circumvented by the unguarded include. Not sure how to go about fixing it in the build chain or if its even nessesary anymore ?.

jmeubank commented 3 years ago

This looks to be fixed in the upcoming TDM-GCC 10.3.0 release.