axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: -Werror problem with trunk from svn
Date Sun, 28 Aug 2011 11:54:07 GMT
You can set compiler options.

Samisa Abeysinghe

http://samisa-abeysinghe.blogspot.com/
On Thu, Jul 21, 2011 at 10:56 PM, <itreppert@itreppert.de> wrote:

> Hi there,
>
> GNU Make 3.82
> gcc (GCC) 4.6.0 20110530 (Red Hat 4.6.0-9)
> Actual Snapshot from trunk svn !
>
> Where can I prevent make from using the option -Werror ???
>
> I'm pretty new to this !
>
> Regards,
> Holger
>
>
> make[5]: Entering directory `/root/NetBeansProjects/**
> axis2trunk/trunk/util/src/**platforms/unix'
> /bin/sh ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../../.. -I../../../include -I../../../include/platforms
> -I../../../include/platforms/**unix    -g -O2 -D_LARGEFILE64_SOURCE -ansi
> -Wall -Werror -Wno-implicit-function-**declaration -D_GNU_SOURCE  -MT
> uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c -o uuid_gen_unix.lo
> uuid_gen_unix.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include
> -I../../../include/platforms -I../../../include/platforms/**unix -g -O2
> -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-**declaration
> -D_GNU_SOURCE -MT uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c
> uuid_gen_unix.c  -fPIC -DPIC -o .libs/uuid_gen_unix.o
> uuid_gen_unix.c: In function 'axutil_uuid_gen_v1':
> uuid_gen_unix.c:62:20: error: variable 'tv' set but not used
> [-Werror=unused-but-set-**variable]
> cc1: all warnings being treated as errors
>
> make[5]: *** [uuid_gen_unix.lo] Error 1
> make[5]: Leaving directory `/root/NetBeansProjects/**
> axis2trunk/trunk/util/src/**platforms/unix'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/root/NetBeansProjects/**
> axis2trunk/trunk/util/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/root/NetBeansProjects/**
> axis2trunk/trunk/util'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/NetBeansProjects/**
> axis2trunk/trunk/util'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/NetBeansProjects/**axis2trunk/trunk'
> make: *** [all] Error 2
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.**org<c-dev-unsubscribe@axis.apache.org>
> For additional commands, e-mail: c-dev-help@axis.apache.org
>
>

Mime
View raw message