From owner-svn-src-all@freebsd.org Sat Nov 18 16:38:30 2017 Return-Path: Delivered-To: svn-src-all@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 A3A89DBF283 for ; Sat, 18 Nov 2017 16:38:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 6EAE6754BA for ; Sat, 18 Nov 2017 16:38:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x230.google.com with SMTP id i184so4365167ioa.0 for ; Sat, 18 Nov 2017 08:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=WU1qj9u7MJ2qATkgKufEuGAMlnSOPz+Ra9b0P3NN+ok=; b=uTSAY46qAqvmfxm1a387HFGq+KFs9vDTOkW2FNOWPka5iHIGoRleNnXq9hZLN32Wmg kM7AignOyEe6+xEzo4f7fvvwvut/gToSButD5L6cLg7mJTQq82ialdEN6w+tILjKTyTY WMhO2qQP9HjhnNsynM8VV8TDtDPvvR9+Q+ewVk8E//fpACh7mcGLP/L4yq6y49fuxcbM fHJXsyMz38DuIhANXbDKPQQ86mGbKq0cCYFJAWEozkqlcdt3YYrf1jmN0rzUCCMr9Tm0 jWMx6J7kMZ/dsyVEMNu/h/Gpat0C22/Hzv8mvu5nESCmdXLrwBtUPn61uLy4Ne89K3iE P+8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=WU1qj9u7MJ2qATkgKufEuGAMlnSOPz+Ra9b0P3NN+ok=; b=dL/9oYtG3TJDY3Sx+wqgZrgOwiz/3VP1pXV3UU3OjW3I8hjFIG2ctn137Iu9UXGTLI yKUi4MHAzFKF7lj5P6BopxwneRG8yF199T6bkIkReZofYKY0D7T71N2zyCJdPjuUaJHW gLEbaIWzkil5nqSrTXa6A0tXWz3cepWMP5RH6fwdj6JOH+ZiZQy783VIKfwmQxj+06Hm w/3QuO2YA/bQyqa60WSahUEK8MGawh78J5T8WxVNZnU3NlpxJ43/ZQc7jqusog8cy6m5 s8grYY3H7t+ptcTQG/48uA09G8pkBW+0sofPL40+iux5jFWN2eUMAdsv4v3jU6v/uC11 SQNw== X-Gm-Message-State: AJaThX6OpatLx0doq3uyWrK5n/0ev99L4dUF7ax9yAarPSaK4WNo2ySG +BNHTjERJc5VkE7eBDlSMdoTw84NVAX5BEx/cNHNzQ== X-Google-Smtp-Source: AGs4zMaRVU74hIYiaX0ZaJ5NiRNAibJitlbDFNBw+W5WAARbC3GFJoT9xB1+u/WLiVURpTteV01B86+ByGr1Q3B6CoI= X-Received: by 10.107.48.197 with SMTP id w188mr4169271iow.301.1511023109525; Sat, 18 Nov 2017 08:38:29 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.108.204 with HTTP; Sat, 18 Nov 2017 08:38:28 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:d59a:59a:dd99:c18d] In-Reply-To: <20171118190422.V949@besplex.bde.org> References: <201711180134.vAI1Y2ks064138@pdx.rh.CN85.dnsmgr.net> <20171118190422.V949@besplex.bde.org> From: Warner Losh Date: Sat, 18 Nov 2017 09:38:28 -0700 X-Google-Sender-Auth: kWcKU5hturyC5lzjW5EQ2vg7jSA Message-ID: Subject: Re: svn commit: r325954 - in head: . share/mk sys/conf usr.sbin/config To: Bruce Evans Cc: "Rodney W. Grimes" , Warner Losh , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Nov 2017 16:38:30 -0000 On Sat, Nov 18, 2017 at 3:42 AM, Bruce Evans wrote: > since it flags all c99 and newer usages as syntax errors. We've been >>>> >>> > This shouldn't break use of lint on K&R or C90 sources. But types.h is > broken. It no longer supports K&R, C90, or most other things that are > supposed to be controlled by the visibility ifdefs in it. Thanks for this insightful analysis. I've clipped the rest of it, which is more of the same. It can't support the new C compiler construct, and we've managed to break the old ones. Plus it gives lots of warnings that aren't useful and doesn't understand several of the idioms we've started using heavily in the kernel (such as forward struct declaration). Since many of these problems are in the system kernel headers, the break all non-trivial uses of lint. None of these things are ever going to be fixed. It's quite likely the kernel will never again compile on anything older than a c99 compiler. While we have a lot of ifdefs to attempt to support older compilers, it's almost all certainly bit-rotted from lack of use. Warner