From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42677 invoked by alias); 24 Aug 2015 18:15:32 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 42662 invoked by uid 89); 24 Aug 2015 18:15:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: ausxipps301.us.dell.com Received: from ausxipps301.us.dell.com (HELO ausxipps301.us.dell.com) (143.166.148.223) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 24 Aug 2015 18:15:30 +0000 X-LoopCount0: from 10.175.216.250 From: To: Subject: Why pedantic? Date: Mon, 24 Aug 2015 18:15:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-ID: <91BE5B87D76602438B3CCC2B8C569CB9@dell.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00036.txt.bz2 I'm trying to understand why --pedantic is specified in several of the subd= irectories used with building gdb -- and in particular, why there isn't any= obvious way to turn that off. I've run into this in "libiberty" and possi= bly also "libdecnumber". While this may be ok for Linux, it breaks some cr= oss-builds. At the very least I end up having to work around a pile of "C9= 0 doesn't support blah blah" messages that now need to go into the "ignore = this warning during builds" list in my build procedures. "pedantic" generally defines warnings that are suggested by the standard bu= t are judged to be not particularly useful -- so why use them unconditional= ly? paul