From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8616 invoked by alias); 30 May 2014 16:02:29 -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 8579 invoked by uid 48); 30 May 2014 16:02:26 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/61371] cpp: Implement -fno-date-time/-freproducible-dates or similar Date: Fri, 30 May 2014 16:02: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg02565.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61371 --- Comment #4 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- Also, there was this patch, but I am not sure it was ever committed: https://gcc.gnu.org/ml/gcc-patches/2008-07/msg02321.html >>From gcc-bugs-return-452874-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 30 16:10:41 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 16015 invoked by alias); 30 May 2014 16:10:40 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 15985 invoked by uid 48); 30 May 2014 16:10:35 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/61371] cpp: Implement -fno-date-time/-freproducible-dates or similar Date: Fri, 30 May 2014 16:10: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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-05/txt/msg02566.txt.bz2 Content-length: 874 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D61371 --- Comment #5 from Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez --- (In reply to Cristian Rodr=C3=ADguez 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__=3D'bla' test.c -Wer= ror :0:0: error: "__DATE__" redefined [-Werror=3Dbuiltin-macro-redefined] manuel@gcc10:~$ ~/test1/210581/build/gcc/cc1 -D__DATE__=3D'bla' test.c -Wer= ror -Wno-error=3Dbuiltin-macro-redefined :0:0: warning: "__DATE__" redefined [-Wbuiltin-macro-redefine= d] manuel@gcc10:~$ ~/test1/210581/build/gcc/cc1 -D__DATE__=3D'bla' test.c -Wer= ror -Wno-builtin-macro-redefined Isn't this what you want? >>From gcc-bugs-return-452876-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri May 30 16:21:42 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 30538 invoked by alias); 30 May 2014 16:21:42 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 30508 invoked by uid 48); 30 May 2014 16:21:38 -0000 From: "p.bartosiewi at partner dot samsung.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/61368] Sfinae with template member Date: Fri, 30 May 2014 16:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: p.bartosiewi at partner dot samsung.com X-Bugzilla-Status: UNCONFIRMED 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-05/txt/msg02568.txt.bz2 Content-length: 361 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61368 --- Comment #1 from Piotr Bartosiewicz --- template static true_type test(decltype(std::declval().template visit(std::declval()))*); This fixes the problem, but still don't know whether gcc or clang is wrong about the original code.