Re: riscv libsanitizer: error: missing terminating ' character

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 5, 2020 at 9:11 AM Jonathan Wakely via Gcc-help
<gcc-help@xxxxxxxxxxx> 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.

Jim



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux