[AD] [ alleg-Bugs-2471281 ] some warnings on gcc 4.3.2.

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


Bugs item #2471281, was opened at 2008-12-27 16:03
Message generated for change (Comment added) made by elias
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2471281&group_id=5665

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core Library
Group: 4.3.10plus
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Henrik Stokseth (hstokset)
Assigned to: Nobody/Anonymous (nobody)
Summary: some warnings on gcc 4.3.2.

Initial Comment:
hi. don't know if this is known already but gcc 4.3.2 emits some warnings on allegro 4.3.10.
--
gcc -DALLEGRO_MODULES_PATH=\"/usr/lib/allegro\" -DHAVE_CONFIG_H -I. -Iinclude -Iinclude/allegro -I./include -I./include/allegro  -DALLEGRO_NO_ASM -DALLEGRO_LIB_BUILD  -mtune=pentium -O2 -funroll-loops -ffast-math -fomit-frame-pointer -Wall -Wno-unused  -fPIC -DALLEGRO_SHARED -c ./src/allegro.c -o obj/unix/shared/alleg/allegro.o
./src/allegro.c: In function ‘al_trace’:
./src/allegro.c:652: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
--
In file included from include/allegro/platform/aintlnx.h:248,
                 from include/allegro/platform/aintunix.h:152,
                 from ./src/linux/lvga.c:31:
include/allegro/internal/aintvga.h: In function ‘_read_vga_register’:
include/allegro/internal/aintvga.h:46: warning: ‘inportb’ is static but used in inline function ‘_read_vga_register’ which is not static
include/allegro/internal/aintvga.h:46: warning: ‘outportb’ is static but used in inline function ‘_read_vga_register’ which is not static
include/allegro/internal/aintvga.h:46: warning: ‘inportb’ is static but used in inline function ‘_read_vga_register’ which is not static
include/allegro/internal/aintvga.h: In function ‘_write_vga_register’:
include/allegro/internal/aintvga.h:57: warning: ‘inportb’ is static but used in inline function ‘_write_vga_register’ which is not static
include/allegro/internal/aintvga.h:57: warning: ‘outportb’ is static but used in inline function ‘_write_vga_register’ which is not static
include/allegro/internal/aintvga.h:57: warning: ‘outportb’ is static but used in inline function ‘_write_vga_register’ which is not static
include/allegro/internal/aintvga.h:57: warning: ‘outportb’ is static but used in inline function ‘_write_vga_register’ which is not static
include/allegro/internal/aintvga.h:57: warning: ‘outportb’ is static but used in inline function ‘_write_vga_register’ which is not static
include/allegro/internal/aintvga.h: In function ‘_vsync_out_h’:
include/allegro/internal/aintvga.h:83: warning: ‘inportb’ is static but used in inline function ‘_vsync_out_h’ which is not static
include/allegro/internal/aintvga.h: In function ‘_vsync_out_v’:
include/allegro/internal/aintvga.h:91: warning: ‘inportb’ is static but used in inline function ‘_vsync_out_v’ which is not static
include/allegro/internal/aintvga.h: In function ‘_vsync_in’:
include/allegro/internal/aintvga.h:99: warning: ‘inportb’ is static but used in inline function ‘_vsync_in’ which is not static
include/allegro/internal/aintvga.h: In function ‘_write_hpp’:
include/allegro/internal/aintvga.h:115: warning: ‘inportb’ is static but used in inline function ‘_write_hpp’ which is not static
--


----------------------------------------------------------------------

>Comment By: Elias Pschernig (elias)
Date: 2010-03-03 12:48

Message:
i see no warnings with gcc 4.4 so i guess this is fixed now. closing

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2471281&group_id=5665




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