From: SourceForge.net <no...@so...> - 2008-12-27 16:03:41
|
Bugs item #2471281, was opened at 2008-12-27 17:03 Message generated for change (Tracker Item Submitted) made by Item Submitter 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: None Status: Open Resolution: None 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 -- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2471281&group_id=5665 |