From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 36952 invoked by alias); 4 Sep 2017 15:45:04 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 36921 invoked by uid 89); 4 Sep 2017 15:45:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Mon, 04 Sep 2017 15:45:00 -0000 From: Joseph Myers To: Florian Weimer CC: Subject: Re: [PATCH] math.h: Warn about an already-defined log macro In-Reply-To: <20170904090959.276DE439942E3@oldenburg.str.redhat.com> Message-ID: References: <20170904090959.276DE439942E3@oldenburg.str.redhat.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2017-09/txt/msg00167.txt.bz2 On Mon, 4 Sep 2017, Florian Weimer wrote: > This is a common programming error, and the cause of the problem is not > always obvious. > > defines a log macro, but it includes before that, so > that is compatible with the warning. > > 2017-09-04 Florian Weimer > > * math/math.h: Issue warning if log is defined. OK. -- Joseph S. Myers joseph@codesourcery.com