Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2010 16:40:37 +0530 (IST)
From:      akash kumar <akashb503@yahoo.co.in>
To:        Mark Tinguely <marktinguely@gmail.com>, CyberLeo Kitsana <cyberleo@cyberleo.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: compiler flag -Werror
Message-ID:  <587623.36071.qm@web95102.mail.in2.yahoo.com>
In-Reply-To: <4C192B59.7040608@gmail.com>
References:  <36481.65110.qm@web95106.mail.in2.yahoo.com> <4C191BB7.1080708@cyberleo.net> <4C192B59.7040608@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Mark/kitsana for your help.=0AIts working for me now.=0A=0AThanks,=
=0AAkash.=0A=0A=0A=0A=0A________________________________=0AFrom: Mark Tingu=
ely <marktinguely@gmail.com>=0ATo: CyberLeo Kitsana <cyberleo@cyberleo.net>=
=0ACc: akash kumar <akashb503@yahoo.co.in>=0ASent: Thu, 17 June, 2010 1:21:=
53 AM=0ASubject: Re: compiler flag -Werror=0A=0ACyberLeo Kitsana wrote:=0A>=
 On 06/16/2010 08:02 AM, akash kumar wrote:=0A>  =0A>> Hi all,=0A>> =0A>> I=
 am working on building a freebsd kernel for mips. As part of this i built =
cross  tool chain for mips from my host machine(i386).=0A>> After that i wa=
s building my kernel using make buildkernel KERNCONF=3D"configfile"=0A>> =
=0A>> I noticed that the compiler flags -Werror is invoked  default with my=
 compiler. I want to remove this flag because all the warning as taken as e=
rrors due to which my compilation stops.=0A>> =0A>> Can you please help me =
how/where to remove this flag.    =0A> =0A> I have run across this in the p=
ast, when building for a VIA C3-2 CPU; so=0A> I have this in my /etc/make.c=
onf:=0A> =0A> # Inline limit warnings?=0A> # Userland:=0A> NO_WERROR=3Dyes=
=0A> # Kernel: Just turn off inline warnings=0A> WERROR=3D-Wno-inline -Werr=
or=0A> =0A>  =0AThe kernel entry is in /sys/conf/kern.pre.mk=0A=0AMark Ting=
uely=0A=0A=0A



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?587623.36071.qm>