From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mxb2.seznam.cz (mxb2.seznam.cz [IPv6:2a02:598:2::89]) by sourceware.org (Postfix) with ESMTPS id 8313D38708A8 for ; Tue, 9 Jun 2020 11:40:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8313D38708A8 Received: from email.seznam.cz by email-smtpc15a.ng.seznam.cz (email-smtpc15a.ng.seznam.cz [10.23.11.195]) id 386a735b28e2c96738605e1a; Tue, 09 Jun 2020 13:40:30 +0200 (CEST) Received: from unknown ([::ffff:62.24.65.155]) by email.seznam.cz (szn-ebox-5.0.29) with HTTP; Tue, 09 Jun 2020 13:40:27 +0200 (CEST) From: "Zdenek Sojka" To: "Jim Wilson" Cc: "gcc-help" , "Jonathan Wakely" Subject: Re: riscv libsanitizer: error: missing terminating ' character Date: Tue, 09 Jun 2020 13:40:27 +0200 (CEST) Message-Id: References: Mime-Version: 1.0 (szn-mime-2.0.57) X-Mailer: szn-ebox-5.0.29 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2020 11:40:34 -0000 Hello, ---------- P=C5=AFvodn=C3=AD e-mail ---------- Od: Jim Wilson Komu: Jonathan Wakely Datum: 9. 6. 2020 3:33:10 P=C5=99edm=C4=9Bt: Re: riscv libsanitizer: error: missing terminating ' ch= aracter On Fri, Jun 5, 2020 at 9:11 AM Jonathan Wakely via Gcc-help wrote: > > It seems -std=3Dgnu++11 should be replaced by -std=3Dgnu++14 ; but sin= ce I > > couldn't find anyone else reporting this issue, maybe the problem is o= n my > > side? > > The single quote as a digit separator is a C++14 feature, so the > libsanitizer code should not be using it. > The libsanitizer sources are imported from an external tree. We can't= > dictate what language version they are written in. It looks like we > do have a set of local patches that we apply after a merge. So > someone could add a local patch for this to remove the single quotes > if necessary. > I can reproduce on an x86_64-linux system, so this isn't a RISC-V > specific problem. They are just warnings that don't affect the build.= > Probably no one noticed because the build didn't break. I'd suggest > filing a bug report. thank you both, I've opened https://gcc.gnu.org/PR95603 for this. Best regards, Zdenek Sojka