bug-bison
[Top][All Lists]
Advanced

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

Re: C++17 skeleton with move semantics and std::variant


From: Hans Åberg
Subject: Re: C++17 skeleton with move semantics and std::variant
Date: Mon, 9 Apr 2018 20:15:00 +0200


> On 9 Apr 2018, at 19:19, Frank Heckenbach <address@hidden> wrote:
> 
> Hans Åberg wrote:
> 
> You should apply the patch in /usr/share/bison (or your respective
> Bison data directory), not in your build directory (where a stack.hh
> exists, but is different, being generated from the stack.hh
> template, so the patch fails; and location.cc won't exist, instead
> position.hh and location.hh are generated from it).
> 
> So, try this:
> 
> cd /usr/share/bison
> sudo patch < /path/to/extra-header-prefix.diff
> cd /your/source/dir
> rm -f stack.hh position.hh location.hh
> make clean
> make

I wouldn't do that for two reasons: screwing up the installation, and security 
reasons - one should do the changes while not root, and copy them to the 
installation location.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]