From owner-freebsd-testing@freebsd.org Fri Jul 10 19:56:50 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3ADD9997C46 for ; Fri, 10 Jul 2015 19:56:50 +0000 (UTC) (envelope-from mattdillonbsd@gmail.com) Received: from mail-yk0-x22a.google.com (mail-yk0-x22a.google.com [IPv6:2607:f8b0:4002:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E4FAC1191; Fri, 10 Jul 2015 19:56:49 +0000 (UTC) (envelope-from mattdillonbsd@gmail.com) Received: by ykeo3 with SMTP id o3so151169525yke.0; Fri, 10 Jul 2015 12:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jV+O3+XDGS2uXiQCMZk2DUV+o/m7omvS6GmJYLgbemo=; b=Oc03NEZcOQMKoOQAN9sk7pNgWcFWKRU2gQsheV/pvJgsr5TNl5c6wxL7pL/7A+hdnv +af1GRu2/PmJn53P5MkPakM2FHifCEHv5k9uHC9VvYBFwAYqog5oPKcoyUsn1XTp+Cu2 H/EaCym5KBg++/X/xEm2N8IP2AfYyGCAqwycUzoHlU1FhS9r4b/mWarP6ph39i++ID/K jHA8ctzwFDtyYUoqJx9aPY6DE5mP1RPhUoSXAFYFUULx6SKn4pPftU58feomN/GBTMax bche17cURvl8H8wdL35LPIc99/ZB+7CHWQaHls+R3CyCXB6Y9TazGJM2dCvEo83ojQQB +pOw== MIME-Version: 1.0 X-Received: by 10.129.84.4 with SMTP id i4mr25457117ywb.77.1436558208965; Fri, 10 Jul 2015 12:56:48 -0700 (PDT) Sender: mattdillonbsd@gmail.com Received: by 10.129.52.75 with HTTP; Fri, 10 Jul 2015 12:56:48 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jul 2015 12:56:48 -0700 X-Google-Sender-Auth: QgbYme19rSGRXbVf583FRNHouxA Message-ID: Subject: Re: Need help reducing gcc compiler warnings in BSD From: Matthew Dillon To: Craig Rodrigues Cc: "users@dragonflybsd.org" , "freebsd-testing@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 19:56:50 -0000 I'm not sure the work load is high enough to require a formal collaboration. We just fix things as they come up for the most part. Sascha has been doing WARNS related cleanups on the codebase and slowly bumping up the WARNS level for various parts of the build for years, which reduces problems going forwards. It's mostly a matter of being proactive about it. -Matt On Fri, Jul 10, 2015 at 7:52 AM, Craig Rodrigues wrote: > Hi, > > I set up this Jenkins job which builds FreeBSD with gcc 4.9, and reports > all the compiler warnings here: > > > https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/177/warnings17Result/ > > I have been working with other people like Marcelo Araujo to > reduce the gcc compiler warnings on FreeBSD, even though > the default system compiler for FreeBSD is clang. > I have noticed that a lot of fixes to the problems have been down > in DragonFlyBSD. I have imported some of these fixes, especially ones > done by > Sascha Wildner, such as this one: > > https://lists.freebsd.org/pipermail/svn-src-head/2015-May/072562.html > > Is there a way that we can collaborate across the FreeBSD and DragonFlyBSD > projects to reduce gcc compiler warnings? That it would be quite nice. > It would make code easier to share, and improve the code overall. > > Thanks. > -- > Craig > >