This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug bootstrap/30589] [4.3 regression] C99 extern inline patch broke bootstrap on i386-pc-mingw32



------- Comment #6 from fxcoudert at gcc dot gnu dot org  2007-01-26 13:11 -------
So maybe a right fixinclude change could be to look into _mingw.h for

#define __CRT_INLINE extern __inline__

and change it (for mainline) to

# if __STDC_VERSION__ >= 199901L
#  define __CRT_INLINE extern inline __attribute__((__gnu_inline__))
# else
#  define __CRT_INLINE extern __inline__
# endif

I don't know how fixinclude works, but that sounds like a simple and contained
hack.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-26 13:11:11
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30589


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]