[Scons-dev] YACC live test failing

Bill Deegan bill at baddogconsulting.com
Thu Jun 11 22:30:40 EDT 2015


As I understand it this is not "yacc", this is actually GNU Bison (which
spits out a symlink as yacc pointing to bison).

likely a " -L c" should spit out x.h file.

-Bill

On Thu, Jun 11, 2015 at 9:34 PM, William Blevins <wblevins001 at gmail.com>
wrote:

> Dirk,
>
> Good try at least.  The default CentOS7 install for yacc is version 1.9,
> but the latest yacc is already 3.0.4.  The options listed in those forums
> don't apply.  It looks like this version generates to a hard-coded header
> filename.
>
> Not sure what to reasonably do here.
>
> V/R,
> William
>
> On Thu, Jun 11, 2015 at 10:20 AM, William Blevins <wblevins001 at gmail.com>
> wrote:
>
>> Dirk,
>>
>> I will make an attempt at updating the test in the next day or two.  I
>> figured there was a way to change the output filename, but I didn't find it
>> at a glance, so I was trying to defer to the experts.
>>
>> Thanks,
>> William
>>
>> On Thu, Jun 11, 2015 at 10:02 AM, Dirk Bächle <tshortik at gmx.de> wrote:
>>
>>> Hi William,
>>>
>>> On 05.06.2015 06:05, William Blevins wrote:
>>>
>>>> Team,
>>>>
>>>> The "test/YACC/live.py" test fails using the RHEL7 version of YACC "1.9
>>>> 20130304" because the "-d" option generates an "x.h" file
>>>> versus a "x.hpp" file.
>>>>
>>>> Is there an option to force the file extension or is some other change
>>>> required?
>>>>
>>>>
>>> looks like directly using the "defines" directive (instead of "-d" for
>>> the default header name) is the way to go:
>>>
>>>
>>> http://stackoverflow.com/questions/16098509/automake-1-12-changes-bison-yacc-output-names-backwards-incompatible-change
>>>   https://www.gnu.org/software/bison/manual/html_node/Decl-Summary.html
>>>
>>> Would you like to take a crack at it?
>>>
>>> Best regards,
>>>
>>> Dirk
>>>
>>> _______________________________________________
>>> Scons-dev mailing list
>>> Scons-dev at scons.org
>>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>>
>>
>>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150611/ac070cd0/attachment.html>


More information about the Scons-dev mailing list