kernel-ark/drivers/scsi/aic7xxx/aicasm
James Bottomley f45ffaec2e [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6
On Tue, 2007-05-22 at 06:51 -0500, Bob Tracy wrote:
> Second try: originally reported this back on April 17th.  2.6.X
> kernel builds started failing after I upgraded my compiler from
> gcc-3.3.X to gcc-3.4.6:
>
> make -C drivers/scsi/aic7xxx/aicasm
> (...)
> gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ldb
> aicasm_gram.y:1948: error: conflicting types for 'yyerror'
> aicasm_gram.tab.c:3004: error: previous implicit declaration of 'yyerror' was here
> aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
> aicasm_macro_gram.tab.c:1196: error: previous implicit declaration of 'mmerror' was here

Fix is to add a prototype for yyerror and mmerror to the relevant files.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-05-22 14:08:59 -05:00
..
aicasm_gram.y [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6 2007-05-22 14:08:59 -05:00
aicasm_insformat.h [SCSI] aic7xxx: Update aicasm 2006-01-31 14:39:44 -06:00
aicasm_macro_gram.y [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6 2007-05-22 14:08:59 -05:00
aicasm_macro_scan.l Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aicasm_scan.l [SCSI] aic7xxx: Update aicasm 2006-01-31 14:39:44 -06:00
aicasm_symbol.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aicasm_symbol.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aicasm.c [SCSI] aic7xxx: Update aicasm 2006-01-31 14:39:44 -06:00
aicasm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile kbuild: hardcode value of YACC&LEX for aic7-triple-x 2006-08-01 11:32:46 +02:00