Re: Bison 3.7.1 released

Dennis Clarke <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
On 8/30/20 7:41 AM, Akim Demaille wrote:
> Hi Dennis,
> 
>> Le 13 août 2020 à 10:49, Dennis Clarke <[email protected]> a écrit :
>>
>> On 8/3/20 1:51 AM, Akim Demaille wrote:
>>>
>>>
>>>> Le 3 août 2020 à 05:18, Richard Stallman <[email protected]> a écrit :
>>>>
>>>> Condolences on the new release ;-{.
>>>
>>> Exactly :)  And unfortunately I already know there will be more bug fix releases :(
>>>
>>
>> I was surprised to see :
>>
>> /opt/developerstudio12.6/bin/CC -std=c++11 -std=c++11  -m64 -xarch=sparc
>> -dalign -erroff=%none -errtags=yes -ftrap=%none -g -xcode=pic32 -m64 -mc
>> -xunroll=1 -xbuiltin=%none -xdepend=no -xnolibmopt -xlinkopt=0
>> -xnolibmil -xregs=no%appl -xs -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS
>> -D_LARGEFILE64_SOURCE  -L/opt/bw/lib -o examples/c++/variant-11
>> examples/c++/variant_11-variant-11.o  -lrt
>> build-aux/install-sh -c -d examples/java/calc
>> ./tests/bison ./examples/java/calc/Calc.y -o examples/java/calc/Calc.java
>> bison: extra operand '-o'
>> Try 'bison --help' for more information.
> 
> That's super weird, bison does not care about the position of the argument.
> Except in POSIX mode.  Would you have this envvar set?
> 
> $ bison ~bison/src/parse-gram.y -o foo.c
> $ POSIXLY_CORRECT=1 bison ~bison/src/parse-gram.y -o foo.c
> bison: extra operand '-o'
> Try 'bison --help' for more information.
> 

Sorry for the delay. I will go back and re-run everything both with and
without the POSIXLY_CORRECT env var set. Which, yes, I generally set and
test with.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.