From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30418 invoked by alias); 9 Dec 2014 01:28:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 30338 invoked by uid 48); 9 Dec 2014 01:28:02 -0000 From: "cameron at tacklind dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/64220] gcc preprocessor defines outside of the reserved namespace: unix linux AVR Date: Tue, 09 Dec 2014 01:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 4.9.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cameron at tacklind dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-12/txt/msg00825.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64220 --- Comment #2 from Cameron Tacklind --- Ah, I had not seen a reference to the -std making a difference. You are right that adding -std=c99 removes the extra define. Of note, I'm finding it difficult to find where this behavior (the define being in gnuXX and not cXX) is described in the documentation. (But I may just be blind) If this is a desired define behavior, then by all means leave it and please close this as a "WONTFIX". I just wanted to bring this up, in particular, because I want to use AVR in a project I'm working on and I had not seen a good reason for its existence besides deprecated usage.