[AD] GCC 3.4

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Getting ready for gcc 3.4…

 

I finally got to compile gcc 3.4 (snapshot 20040107) for Windows and my first test of its usability was compiling allegro.

 

These are a few things to have in mind to get allegro compile with the next version of gcc when it become publicly available:

 

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

 

(Not a big problem.)

 

src/fli.c: In function `do_fli_256_color':

src/fli.c:319: warning: use of cast expressions as lvalues is deprecated

src/fli.c:333: warning: use of cast expressions as lvalues is deprecated

 

(At least it’s just a warning.)

 

windres --include-dir include -O coff -o obj/mingw32/alleg/dllver.o -i src/win/dllver.rc

windres: src/win/dllver.rc:1: parse error

make: *** [obj/mingw32/alleg/dllver.o] Error 1

 

(And make dies for the first time. Windres.exe hasn’t changed and dllver.rc seems to be ok.)

 

src/win/wddbmp.c: In function `create_directdraw2_surface':

src/win/wddbmp.c:243: warning: dereferencing type-punned pointer will break strict-aliasing rules

 

(Just another warning.)

 

windres -O coff -o obj/mingw32/dibsound.res -i tests/win/dibsound.rc

windres: tests/win/dibsound.rc:1: parse error

make: *** [obj/mingw32/dibsound.res] Error 1

 

(Once again make dies. This problem also occurs with dxwindow, scrsave and demo.)

 

Even with those errors dibsound.exe, dxwindow.exe, scrsave.exe and demo.exe are built and work.

 

I just tried all the examples and they’re working fine.

 

I’ll take advantage of this message to inform you that allegro compiled successfully with Intel C++ 7.0 (using MSVC6 headers and some of its libraries).

 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/