From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 25 17:31:07 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3035106566C for ; Thu, 25 Mar 2010 17:31:07 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pz0-f199.google.com (mail-pz0-f199.google.com [209.85.222.199]) by mx1.freebsd.org (Postfix) with ESMTP id 7EA278FC20 for ; Thu, 25 Mar 2010 17:31:07 +0000 (UTC) Received: by pzk37 with SMTP id 37so2003703pzk.7 for ; Thu, 25 Mar 2010 10:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=DTmGVZyNxhGkVKd/mb9+YUhtlDMesHk2/L9FXv+r2HE=; b=CZHQg0xmSY6yHPpTJyrdkFP58ZCOLaPEPq70IPsh3frNUtZnf2Uf0+v3Pf0oviqT9m A1vZIMHZqfkNW9cRNXYq9FZCorhY6+s07ZFuVd+R2ZtMSSRSepcGC5dN3gSSvdyjv3Md vfg1N098SEhYfMvNwl/9PNSIcrrOjtIyGBQe8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=aFMcpptsYIRMGn3hZcpWYUGNwv9/63mxaGe0dzAvBmVPbb7eU9V93YN1ZzFXwaLKWQ 1EXFYV/YCcMVdU8RNEs68TYiCVJsv5mqUPnk4hjfbmCmYSTemlzpysj6WWIdiYGUTHya 5kOcEBTTzSjZ3flHbREovcyDdtzIElSq2ysmc= MIME-Version: 1.0 Received: by 10.114.237.24 with SMTP id k24mr163096wah.29.1269538267206; Thu, 25 Mar 2010 10:31:07 -0700 (PDT) In-Reply-To: <9884b5281003251018g2599bfc9nec53b84253372e42@mail.gmail.com> References: <201003242258.05830.lobo@bsd.com.br> <9884b5281003250924i462eee68uf2a7eba7dd864033@mail.gmail.com> <9884b5281003251018g2599bfc9nec53b84253372e42@mail.gmail.com> Date: Thu, 25 Mar 2010 10:31:07 -0700 Message-ID: <7d6fde3d1003251031v3564bc5q6ecea8de125947f5@mail.gmail.com> From: Garrett Cooper To: Mario Lobo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Ryan Stone , FreeBSD-Questions@freebsd.org Subject: Re: Compiling kernel with gcc43 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 17:31:07 -0000 On Thu, Mar 25, 2010 at 10:18 AM, Mario Lobo wrote: > 2010/3/25 Ryan Stone > >> If you just want to try it out you could disable -Werror for your own >> build. =A0The reason that gcc 4.3 fails where 4.2 works fine is that the >> gcc developers are adding new warnings with every compiler release, so >> until somebody takes the time to fix all of the new warnings you won't >> be able to build the kernel with -Werror. >> > > All right !! Thanks for replying ! > > There are a lot of locations throughout the source code where -Werror is > enabled > How can I disable -Werror globally? via src.conf ? will it do it for > world/kernel? > will this "damage" the resulting kernel/world binaries? -Wno-error . -Garrett