From owner-svn-src-all@freebsd.org Wed Jan 11 21:35:51 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 D7295CAB01C; Wed, 11 Jan 2017 21:35:51 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (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 944F01F5B; Wed, 11 Jan 2017 21:35:51 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-qk0-x22e.google.com with SMTP id u25so874396qki.2; Wed, 11 Jan 2017 13:35:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BE8eQvUP8jTYsWD4AQKL84vg7Cw6QT1v2I0rczonWbA=; b=fOxchh1gkreZvX82dCzLvfhlrmjP7WPFAP3UuFZpf+BorbjFzDfm7IQPukm4qGvpkV XDGRk/BdVYQhxKXW1kKz3ba648heKblyOyq895wP+I6yAmcFlFM0x8VXgSKRtS8dQIwc wLPjxfMbP9CiGqwdZO/dYCKpSXZkO7VXp6r/EwGPY5qa2MNVaIc0TQwmv3JR/L1FeBDB JMVXnuUoOx9qngqsllzo/PLgeufXwVJSbmEym3mOG7C6QUbXDDmgcUWDwU6AZYa3wudY XS4Oc+MYv4xe7qdgGO20Y/m8PpAn38I5VkfKsZCu31emYOWcmQORfu44nR6k+G0bL/Aj A8bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BE8eQvUP8jTYsWD4AQKL84vg7Cw6QT1v2I0rczonWbA=; b=b/rc9LM7OPaASqN2ga6KKbZIZvSkKPVxnra18oMrvN51U3KmKQL2jJ27ObVIZXunve smsf6a4QdIdosIos5uMWU3FzhPzPdoT20JfTen/DL6icstQQWEy5n8evdMqfxfRY+aaB 2XM34mLFrUmqVwAhfeYnVobQ9NJvWLeEZpxTdINHHoCN4PI05q2z47/upG0pPXoSZeB3 dhxVE/jH6Vw2iyyChBaT2PDuG0/+tL0s3oszA8Y8UpfEWddfOCNuQ7/fO6ujGbZ1j+Jd Z4ZuyBzbo1hYYWbh6jl9vfOBEUmBehzwPSxc+73N/5oFGqsc81w64OLzVk4jfkdbIKPp gXaw== X-Gm-Message-State: AIkVDXIUQ2opTEBbF51+pmKFJ3lfOmtBxxoDqEDjfy9GxGY/oQkzh5U5HkEvwjiITFNz22CSNrd7OFDPO3IIGg== X-Received: by 10.55.112.65 with SMTP id l62mr11729959qkc.76.1484170550648; Wed, 11 Jan 2017 13:35:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.83.133 with HTTP; Wed, 11 Jan 2017 13:35:50 -0800 (PST) In-Reply-To: <201701111847.v0BIl0Mg013954@repo.freebsd.org> References: <201701111847.v0BIl0Mg013954@repo.freebsd.org> From: Ngie Cooper Date: Wed, 11 Jan 2017 13:35:50 -0800 Message-ID: Subject: Re: svn commit: r311929 - head/sys/boot/common To: Dimitry Andric Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 11 Jan 2017 21:35:51 -0000 On Wed, Jan 11, 2017 at 10:47 AM, Dimitry Andric wrote: > Author: dim > Date: Wed Jan 11 18:47:00 2017 > New Revision: 311929 > URL: https://svnweb.freebsd.org/changeset/base/311929 > > Log: > Don't include in reloc_elf.c, as it includes just > after it, which has a conflicting definition of errno. This leads to > the following warning with clang 4.0.0: > > In file included from sys/boot/common/reloc_elf32.c:6: > In file included from sys/boot/common/reloc_elf.c:37: > /usr/obj/usr/src/tmp/usr/include/stand.h:155:12: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] > extern int errno; > ^ > sys/sys/errno.h:46:26: note: expanded from macro 'errno' > #define errno (* __error()) It seems like libstand (once again) should be fixed, not the "offending code". -Ngie