Date: Tue, 31 Jul 2001 11:43:19 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/29347: audio/esound fails with -ansi Message-ID: <200107310943.f6V9hJ914839@home.dinoex.sub.org>
next in thread | raw e-mail | index | archive | help
>Number: 29347 >Category: ports >Synopsis: audio/esound fails with -ansi >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 31 02:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 4.3-STABLE i386 >Organization: privat >Environment: System: FreeBSD 4.3-STABLE: Fri Jul 20 22:04:45 CEST 2001 i386 /etc/make.conf: CFLAGS+= -pipe -Wall CFLAGS+=${BDECFLAGS} >Description: port fails to compile, if "-ansi" is set. >How-To-Repeat: cd /usr/ports/audio/esound && make [...] cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DSYSCONFDIR=\"/usr/local/et c\" -O -pipe -pipe -Wall -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-ali gn -Wcast-qual -Wchar-subscripts -Wconversion -Winline -Wmissing-prototypes -Wne sted-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwr ite-strings -c genrand.c -fPIC -DPIC -o .libs/genrand.lo genrand.c: In function `genrand_dev': genrand.c:50: warning: passing arg 3 of `read' as unsigned due to prototype genrand.c:44: warning: unused variable `curbuf' genrand.c:43: warning: unused variable `readlen' genrand.c: In function `handle_alarm': genrand.c:64: warning: unused parameter `signum' genrand.c: At top level: genrand.c:69: syntax error before `unsigned' genrand.c:71: warning: no previous prototype for `hashlong' genrand.c: In function `hashlong': genrand.c:75: warning: comparison between signed and unsigned genrand.c:72: warning: `retval' might be used uninitialized in this function genrand.c: In function `genrand_unix': genrand.c:103: warning: unused variable `mycount' *** Error code 1 >Fix: add in Makefile.local or Makefile CFLAGS:= ${CFLAGS:S/-ansi//g} cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DSYSCONFDIR=\"/usr/local/et c\" -O -pipe -pipe -Wall -W -Wall -pedantic -Wbad-function-cast -Wcast-align -Wc ast-qual -Wchar-subscripts -Wconversion -Winline -Wmissing-prototypes -Wnested-e xterns -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-st rings -c genrand.c -fPIC -DPIC -o .libs/genrand.lo genrand.c: In function `genrand_dev': genrand.c:50: warning: passing arg 3 of `read' as unsigned due to prototype genrand.c:44: warning: unused variable `curbuf' genrand.c:43: warning: unused variable `readlen' genrand.c: In function `handle_alarm': genrand.c:64: warning: unused parameter `signum' genrand.c: At top level: genrand.c:69: warning: ANSI does not permit the keyword `inline' genrand.c: In function `hashlong': genrand.c:75: warning: comparison between signed and unsigned genrand.c: In function `genrand_unix': genrand.c:103: warning: unused variable `mycount' genrand.c:72: warning: `retval' might be used uninitialized in this function >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107310943.f6V9hJ914839>