public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/61371] cpp: Implement -fno-date-time/-freproducible-dates or similar
Date: Mon, 02 Jun 2014 08:16:00 -0000	[thread overview]
Message-ID: <bug-61371-4-ujcl9DJ2FV@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61371-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61371

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Cristian Rodríguez from comment #6)
> (In reply to Manuel López-Ibáñez from comment #5)
> > (In reply to Cristian Rodríguez from comment #2)
> > > It would be.. if there wasn't half a ton of packages using -Werror
> > 
> > In fact, it was committed and the message tells you which option you have to
> > use to silence the warning:
> > 
> > manuel@gcc10:~$ ~/test1/210581/build/gcc/cc1 -D__DATE__='bla' test.c -Werror
> > <command-line>:0:0: error: "__DATE__" redefined
> > [-Werror=builtin-macro-redefined]
> > 
> > manuel@gcc10:~$ ~/test1/210581/build/gcc/cc1 -D__DATE__='bla' test.c -Werror
> > -Wno-error=builtin-macro-redefined
> > <command-line>:0:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefined]
> > 
> > manuel@gcc10:~$ ~/test1/210581/build/gcc/cc1 -D__DATE__='bla' test.c -Werror
> > -Wno-builtin-macro-redefined
> > 
> > 
> > Isn't this what you want?
> 
> -Wno-builtin-macro-redefined silences redefinitions of __FILE__, and 
> __BASE_FILE__..

So?  You might be happier with -Wno-error=builtin-macro-redefined (if that
works).  Of course warnings for redefinition of DATE/TIME etc. prevail then.
>From gcc-bugs-return-452959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jun 02 08:16:20 2014
Return-Path: <gcc-bugs-return-452959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 32018 invoked by alias); 2 Jun 2014 08:16:19 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 31968 invoked by uid 48); 2 Jun 2014 08:16:15 -0000
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/61334] [4.10 Regression] lto-cgraph.c:976:68: error: 'strnlen' was not declared in this scope
Date: Mon, 02 Jun 2014 08:16:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 4.10.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ro at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.10.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cf_gcctarget cc cf_gcchost cf_gccbuild
Message-ID: <bug-61334-4-QMfJUpaUSW@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61334-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61334-4@http.gcc.gnu.org/bugzilla/>
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-06/txt/msg00041.txt.bz2
Content-length: 879

https://gcc.gnu.org/bugzilla/show_bug.cgi?ida334

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|hppa2.0w-hp-hpux11.11       |hppa2.0w-hp-hpux11.11,
                   |                            |*-*-solaris2.10
                 CC|                            |ro at gcc dot gnu.org
               Host|hppa2.0w-hp-hpux11.11       |hppa2.0w-hp-hpux11.11,
                   |                            |*-*-solaris2.10
              Build|hppa2.0w-hp-hpux11.11       |hppa2.0w-hp-hpux11.11,
                   |                            |*-*-solaris2.10

--- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> ---
Solaris 10 is equally affected.  The proposed patch fixes the bootstrap failure
there as well.

  Rainer


      parent reply	other threads:[~2014-06-02  8:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-61371-4@http.gcc.gnu.org/bugzilla/>
2014-05-30 15:58 ` manu at gcc dot gnu.org
2014-05-30 16:02 ` manu at gcc dot gnu.org
2014-05-30 16:21 ` crrodriguez at opensuse dot org
2014-06-02  8:16 ` rguenth at gcc dot gnu.org [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-61371-4-ujcl9DJ2FV@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).