Path: utzoo!telly!ddsw1!lll-winken!killer!texbell!bigtex!james From: james@bigtex.cactus.org (James Van Artsdalen) Newsgroups: gnu.gcc.bug Subject: gnu 1.28/386 prototype bug Message-ID: <9500@bigtex.cactus.org> Date: 19 Oct 88 02:54:21 GMT Organization: F.B.N. Software, Austin TX Lines: 24 There appears to be a bug in gcc 1.28/386 in function prototype handling. /usr4/src/ghostscript> cat tmp.c void debug_print_string(unsigned char *chrs, unsigned short len); void debug_print_string(chrs, len) unsigned char *chrs; unsigned short len; { } /usr4/src/ghostscript> gcc -v -c tmp.c gcc version 1.28 /usr/local/lib/gcc-cpp -v -undef -D__GNU__ -D__GNUC__ -Dunix -Di386 tmp.c /tmp/cca03940.cpp GNU CPP version 1.28 /usr/local/lib/gcc-cc1 /tmp/cca03940.cpp -quiet -dumpbase tmp.c -version -o /tmp/cca03940.s In function debug_print_string: tmp.c:7: argument `len' doesn't match function prototype GNU C version 1.28 (80386, ATT syntax) compiled by GNU C version 1.28. (ERR:1) /usr4/src/ghostscript> -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Home: 512-346-2444 Work: 338-8789 9505 Arboretum Blvd Austin TX 78759