bison-patches
[Top][All Lists]
Advanced

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

Re: lalr1.cc's locations


From: Tim Van Holder
Subject: Re: lalr1.cc's locations
Date: 06 Sep 2002 16:42:36 +0200

On Fri, 2002-09-06 at 13:52, Akim Demaille wrote:
> 
> +dnl
>  #output "b4_output_prefix[]b4_output_infix[].cc"

Not sure if this discussion has already taken place, but
hardcoding .cc as C++ extension isn't a great idea, as
not all compilers understand .cc as a C++ extension.
.cpp is probably a better choice, but that a) clashes with
the use of .cc in GNU projects and b) was not supported by
old versions of gcc (<= 2.8.1?).
I'm not sure we should care too much about a), since we're
talking about a generated file anyway, though I'm not sure
if the GNU coding standards actually require this.  And b)
is only a problem on old systems.
At the very least it should be a configure option (either
a --option, or a deduced setting), IMHO.






reply via email to

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