[cfe-dev] Clang version numbers

Richard Smith richard at metafoo.co.uk
Sat Mar 7 13:01:27 PST 2015


On 7 Mar 2015 12:58 pm, "Renato Golin" <renato.golin at linaro.org> wrote:
>
> On 7 March 2015 at 20:12, Nikola Smiljanic <popizdeh at gmail.com> wrote:
> > I think the only confusing point is that trunk has a version, not sure
if we
> > really need this? I'd expect -version to just say 'trunk' + revision
number.
>
> Possible reasons I can think of for trunk having a version:
>  * compiler version macros
>  * simpler scripts for dealing with version arithmetic
>  * so you can guess within which time frame that trunk is from
>
> I think the compiler could still set the macros to Current+1, but
> print the version like "3.7-svn-NNNNNN", so people don't get confused.

This is very close to what we do now, and it confuses people frequently.
3.7-blah sounds like a later version than 3.7.

How about 3.7pre-svn-NNNNNNNN?

> cheers,
> --renato
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150307/5c7b3585/attachment.html>


More information about the cfe-dev mailing list