Re: [AD] gcc-4.0.0 problems

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


On 4/27/05, Milan Mimica <milan.mimica1@xxxxxxxxxx> wrote:
> Peter Wang wrote:
> >
> > Excellent.  Please give this patch a whirl.
> 
> Everything is fine.
> 
> > I guess we will come up with similar problems on other platforms, but at
> > least they are trivial.
> 
> I think I'm going to compile gcc-4.0.0 for cygwin next week.
> 
> 
> --
> Milan Mimica
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
> 

In the meantime, I tried to compile with a unofficial version of MinGW
4.0 (http://sourceforge.net/forum/message.php?msg_id=3118705). Using
beta2+patches from this thread the build also triggers these windows-only
warnings/errors (attached list in case Gmail messes the lines):

src/win/wddbmp.c: In function 'make_bitmap_from_surface':
src/win/wddbmp.c:331: warning: pointer targets in assignment differ in
signedness
src/win/wddraw.c: In function 'setup_driver':
src/win/wddraw.c:163: warning: pointer targets in passing argument 3
of 'directdraw->lpVtbl->GetAvailableVidMem' differ in signedness
src/win/wddraw.c: In function 'finalize_directx_init':
src/win/wddraw.c:190: warning: pointer targets in passing argument 2
of 'directdraw->lpVtbl->GetMonitorFrequency' differ in signedness
src/win/wddlock.c: In function 'gfx_directx_lock':
src/win/wddlock.c:115: warning: pointer targets in assignment differ
in signedness
src/win/wdsound.c: In function 'fill_dsound_buffer':
src/win/wdsound.c:625: warning: pointer targets in passing argument 5
of 'snd_buf->lpVtbl->Lock' differ in signedness
src/win/wdsound.c:631: warning: pointer targets in passing argument 5
of 'snd_buf->lpVtbl->Lock' differ in signedness
src/win/wdsound.c: In function 'digi_directsound_lock_voice':
src/win/wdsound.c:923: warning: pointer targets in passing argument 5
of 'ds_locked_buffer->lpVtbl->Lock' differ in signedness
src/win/wdsound.c:929: warning: pointer targets in passing argument 5
of 'ds_locked_buffer->lpVtbl->Lock' differ in signedness
src/win/wdsound.c: In function 'digi_directsound_get_position':
src/win/wdsound.c:993: warning: pointer targets in passing argument 2
of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) +
ds_voices)->ds_loop_buffer->lpVtbl->GetStatus' differ in signedness
src/win/wdsound.c:997: warning: pointer targets in passing argument 2
of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) +
ds_voices)->ds_loop_buffer->lpVtbl->GetCurrentPosition' differ in
signedness
src/win/wdsound.c:997: warning: pointer targets in passing argument 3
of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) +
ds_voices)->ds_loop_buffer->lpVtbl->GetCurrentPosition' differ in
signedness
src/win/wdsound.c:1018: warning: pointer targets in passing argument 2
of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) +
ds_voices)->ds_buffer->lpVtbl->GetStatus' differ in signedness
src/win/wdsound.c:1022: warning: pointer targets in passing argument 2
of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) +
ds_voices)->ds_buffer->lpVtbl->GetCurrentPosition' differ in
signedness
src/win/wdsound.c:1022: warning: pointer targets in passing argument 3
of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) +
ds_voices)->ds_buffer->lpVtbl->GetCurrentPosition' differ in
signedness
src/win/wsndwo.c: In function 'digi_waveout_init':
src/win/wsndwo.c:283: warning: pointer targets in assignment differ in
signedness
src/win/wsndwo.c:309: warning: pointer targets in passing argument 2
of 'waveOutGetVolume' differ in signedness
src/win/wgdi.c:117: error: static declaration of 'mouse_sprite'
follows non-static declaration
./include/allegro/mouse.h:74: error: previous declaration of
'mouse_sprite' was here
mingw32-make: *** [obj/mingw32/alleg/wgdi.o] Error 1
src/win/wkeybd.c: In function 'key_dinput_handle':
src/win/wkeybd.c:366: warning: pointer targets in passing argument 4
of 'key_dinput_device->lpVtbl->GetDeviceData' differ in signedness
src/win/wkeybd.c: In function 'key_dinput_acquire':
src/win/wkeybd.c:410: warning: pointer targets in passing argument 1
of 'GetKeyboardState' differ in signedness
src/win/wmouse.c: In function 'mouse_dinput_handle':
src/win/wmouse.c:318: warning: pointer targets in passing argument 4
of 'mouse_dinput_device->lpVtbl->GetDeviceData' differ in signedness


-- 
Roberto Alfonso                         rpgrca@xxxxxxxxxx
Rhynox, the Mighty Rockfriend, Thane of the Hill Dwarves and Mythical
Blacksmith, legend, male dwarf         genesis.tekno.chalmers.se:3011
src/win/wddbmp.c: In function 'make_bitmap_from_surface':
src/win/wddbmp.c:331: warning: pointer targets in assignment differ in signedness
src/win/wddraw.c: In function 'setup_driver':
src/win/wddraw.c:163: warning: pointer targets in passing argument 3 of 'directdraw->lpVtbl->GetAvailableVidMem' differ in signedness
src/win/wddraw.c: In function 'finalize_directx_init':
src/win/wddraw.c:190: warning: pointer targets in passing argument 2 of 'directdraw->lpVtbl->GetMonitorFrequency' differ in signedness
src/win/wddlock.c: In function 'gfx_directx_lock':
src/win/wddlock.c:115: warning: pointer targets in assignment differ in signedness
src/win/wdsound.c: In function 'fill_dsound_buffer':
src/win/wdsound.c:625: warning: pointer targets in passing argument 5 of 'snd_buf->lpVtbl->Lock' differ in signedness
src/win/wdsound.c:631: warning: pointer targets in passing argument 5 of 'snd_buf->lpVtbl->Lock' differ in signedness
src/win/wdsound.c: In function 'digi_directsound_lock_voice':
src/win/wdsound.c:923: warning: pointer targets in passing argument 5 of 'ds_locked_buffer->lpVtbl->Lock' differ in signedness
src/win/wdsound.c:929: warning: pointer targets in passing argument 5 of 'ds_locked_buffer->lpVtbl->Lock' differ in signedness
src/win/wdsound.c: In function 'digi_directsound_get_position':
src/win/wdsound.c:993: warning: pointer targets in passing argument 2 of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) + ds_voices)->ds_loop_buffer->lpVtbl->GetStatus' differ in signedness
src/win/wdsound.c:997: warning: pointer targets in passing argument 2 of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) + ds_voices)->ds_loop_buffer->lpVtbl->GetCurrentPosition' differ in signedness
src/win/wdsound.c:997: warning: pointer targets in passing argument 3 of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) + ds_voices)->ds_loop_buffer->lpVtbl->GetCurrentPosition' differ in signedness
src/win/wdsound.c:1018: warning: pointer targets in passing argument 2 of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) + ds_voices)->ds_buffer->lpVtbl->GetStatus' differ in signedness
src/win/wdsound.c:1022: warning: pointer targets in passing argument 2 of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) + ds_voices)->ds_buffer->lpVtbl->GetCurrentPosition' differ in signedness
src/win/wdsound.c:1022: warning: pointer targets in passing argument 3 of '((struct DIRECTSOUND_VOICE *)((voice) * 72u) + ds_voices)->ds_buffer->lpVtbl->GetCurrentPosition' differ in signedness
src/win/wsndwo.c: In function 'digi_waveout_init':
src/win/wsndwo.c:283: warning: pointer targets in assignment differ in signedness
src/win/wsndwo.c:309: warning: pointer targets in passing argument 2 of 'waveOutGetVolume' differ in signedness
src/win/wgdi.c:117: error: static declaration of 'mouse_sprite' follows non-static declaration
./include/allegro/mouse.h:74: error: previous declaration of 'mouse_sprite' was here
mingw32-make: *** [obj/mingw32/alleg/wgdi.o] Error 1
src/win/wkeybd.c: In function 'key_dinput_handle':
src/win/wkeybd.c:366: warning: pointer targets in passing argument 4 of 'key_dinput_device->lpVtbl->GetDeviceData' differ in signedness
src/win/wkeybd.c: In function 'key_dinput_acquire':
src/win/wkeybd.c:410: warning: pointer targets in passing argument 1 of 'GetKeyboardState' differ in signedness
src/win/wmouse.c: In function 'mouse_dinput_handle':
src/win/wmouse.c:318: warning: pointer targets in passing argument 4 of 'mouse_dinput_device->lpVtbl->GetDeviceData' differ in signedness


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