riscv libsanitizer: error: missing terminating ' character

Zdenek Sojka zsojka@seznam.cz
Tue Jun 9 11:40:27 GMT 2020


Hello,

---------- Původní e-mail ----------

Od: Jim Wilson <jimw@sifive.com>

Komu: Jonathan Wakely <jwakely.gcc@gmail.com>

Datum: 9. 6. 2020 3:33:10

Předmět: Re: riscv libsanitizer: error: missing terminating ' character

On Fri, Jun 5, 2020 at 9:11 AM Jonathan Wakely via Gcc-help

<gcc-help@gcc.gnu.org> wrote:

> > It seems -std=gnu++11 should be replaced by -std=gnu++14 ; but since I

> > couldn't find anyone else reporting this issue, maybe the problem is on 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



More information about the Gcc-help mailing list