From c63cd2441759bf00c659bde694b5e064f38d24d2 Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 19 Dec 2001 00:48:41 +0000 Subject: [PATCH] Grr. svn path=/trunk/vorbis/; revision=2822 --- configure.in | 8 ++++---- examples/encoder_example.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index f9f4989..7a9b8bf 100644 --- a/configure.in +++ b/configure.in @@ -75,7 +75,7 @@ else case $host in *86-*-linux*) - DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char" + DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char" CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char" # PROFILE="-Wall -W -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static" PROFILE="-Wall -W -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline -static" @@ -120,11 +120,11 @@ else PROFILE=${PROFILE}" -D__NO_MATH_INLINES" fi;; *-*-linux*) - DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char" + DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char" CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char" PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";; sparc-sun-*) - DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8" + DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char -mv8" CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8" PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;; *-*-darwin*) @@ -132,7 +132,7 @@ else CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char" PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";; *) - DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char" + DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char" CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char" PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;; esac diff --git a/examples/encoder_example.c b/examples/encoder_example.c index b2a62f0..102ce76 100644 --- a/examples/encoder_example.c +++ b/examples/encoder_example.c @@ -11,7 +11,7 @@ ******************************************************************** function: simple example encoder - last mod: $Id: encoder_example.c,v 1.28 2001/12/12 09:45:22 xiphmont Exp $ + last mod: $Id: encoder_example.c,v 1.29 2001/12/19 00:48:41 xiphmont Exp $ ********************************************************************/ @@ -100,7 +100,7 @@ int main(){ /* add a comment */ vorbis_comment_init(&vc); - vorbis_comment_add(&vc,"Track encoded by encoder_example.c"); + vorbis_comment_add(&vc,"ENCODER=encoder_example.c"); /* set up the analysis state and auxiliary encoding storage */ vorbis_analysis_init(&vd,&vi); -- 2.7.4