On 2017/09/21 18:04, Marc Espie wrote:
> On Thu, Sep 21, 2017 at 05:20:30PM +0100, Edd Barrett wrote:
> > On Thu, Sep 21, 2017 at 03:06:51PM +0200, Jan Stary wrote:
> > > With this patch, print/texlive/base fails for me
> > > on current/amd64 while configuring in web2c.
> > > The offending line is
> > > 
> > > ../.././../texk/web2c/luatexdir/image/pdftoepdf.w:74:34: error: invalid
> > > suffix
> > >       on literal; C++11 requires a space between literal and identifier
> > >             [-Wreserved-user-defined-literal]
> > >       
> > > snprintf(ck,PDF_CHECKSUM_SIZE,"%"PRIu64"_%"PRIu64,(uint64_t)size,(uint64...
> > 
> > Well, that's easily patchable, but the question is, how many instances
> > of this are there?
> > 
> > Maybe there's a switch to turn that check off?
> > 
> > -- 
> > Best Regards
> > Edd Barrett
> 
> No, it should be fixed and upstream'd.
> 
> This is not an option or a warning, it's really an actual error
> with C++11 and more recent.
> 

Agreed.

The problem here is that the original .w file *does* have the whitespace,
but there's some generator/preprocesser acting on this file which strips it.

This looks like the simplest fix unless someone wants to figure out what
code is processing the file and how to fix that:

https://github.com/termux/termux-packages/blob/master/packages/texlive-bin/c%2B%2B11.patch

I think it should get a REVISION bump for adding std=c++11, but also that
this needs to wait for after unlock.

Reply via email to