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/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32


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

--- Comment #10 from Rainer Emrich <rainer@emrich-ebersheim.de> 2012-07-19 23:17:40 UTC ---
../../../src/gcc-4.8.0/gcc/prefix.c: In function 'char* lookup_key(char*)':
../../../src/gcc-4.8.0/gcc/prefix.c:160:22: error: invalid conversion from
'void*' to 'char*' [-fpermissive]
   dst = xmalloc (size);
                      ^
Here I assume: dst = (char *) xmalloc (size);


../../../src/gcc-4.8.0/gcc/prefix.c:165:32: error: invalid conversion from
'void*' to 'char*' [-fpermissive]
       dst = xrealloc (dst, size);
                                ^

Here I assume: dst = (char *) xrealloc (dst, size);


Next one is more complex, probably an issue in the mingw-w64 header?

In file included from D:/x86_64-w64-trunk/mingw/include/urlmon.h:219:0,
                 from D:/x86_64-w64-trunk/mingw/include/objbase.h:348,
                 from D:/x86_64-w64-trunk/mingw/include/ole2.h:16,
                 from D:/x86_64-w64-trunk/mingw/include/wtypes.h:12,
                 from D:/x86_64-w64-trunk/mingw/include/winscard.h:10,
                 from D:/x86_64-w64-trunk/mingw/include/windows.h:95,
                 from ../../../src/gcc-4.8.0/gcc/prefix.c:71:
D:/x86_64-w64-trunk/mingw/include/msxml.h:636:38: error: macro "abort" passed 1
arguments, but takes just 0
     virtual HRESULT WINAPI abort(void) = 0;
                                      ^
D:/x86_64-w64-trunk/mingw/include/msxml.h:2669:38: error: macro "abort" passed
1 arguments, but takes just 0
     virtual HRESULT WINAPI abort(void) = 0;
                                      ^
D:/x86_64-w64-trunk/mingw/include/msxml.h:636:42: error: 'abort' declared as a
'virtual' field
     virtual HRESULT WINAPI abort(void) = 0;
                                          ^
D:/x86_64-w64-trunk/mingw/include/msxml.h:2669:42: error: 'abort' declared as a
'virtual' field
     virtual HRESULT WINAPI abort(void) = 0;
                                          ^


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