Messages in this thread | | | Date | Wed, 12 May 1999 09:46:15 +0200 | From | Giacomo Amabile Catenazzi <> | Subject | Compiler warning on linux/arch/i386/apm.c |
| |
Compiling Linux (2.2.7, with gcc-2.7.2.3) I found the following warnings (no other warning in Linux [also with egcs]) :
apm.c: In function `suspend': apm.c:778: warning: unused variable `flags' apm.c: In function `apm_get_info': apm.c:1187: warning: unused variable `nbat' apm.c: At top level: apm.c:607: warning: `apm_get_battery_status' defined but not used
( With egcs 1.1.2 I have this extra warning: apm.c:295: warning: `regparm' attribute directive ignored )
My configuration: (...) CONFIG_APM=y # CONFIG_APM_IGNORE_USER_SUSPEND is not set # CONFIG_APM_DO_ENABLE is not set CONFIG_APM_CPU_IDLE=y # CONFIG_APM_DISPLAY_BLANK is not set # CONFIG_APM_POWER_OFF is not set # CONFIG_APM_IGNORE_MULTIPLE_SUSPEND is not set # CONFIG_APM_IGNORE_SUSPEND_BOUNCE is not set CONFIG_APM_RTC_IS_GMT=y # CONFIG_APM_ALLOW_INTS is not set (...)
Giacomo Catenazzi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |