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: Frank Heckenbach
Subject: Re: C++17 skeleton with move semantics and std::variant
Date: Mon, 09 Apr 2018 20:25:14 +0200

Hans Åberg wrote:

> > 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 -

Alright, do "patch --dry-run" before actually patching.

> one should do the changes while not root, and copy them to the
> installation location.

Well, then:

- make a copy of /usr/share/bison
- patch the copy
- as root, copy changed files back

Or:

- get bison sources
- apply patch there
- build
- install

Regards,
Frank



reply via email to

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