[cfe-dev] Clang version numbers

Robert Ankeney rrankene at gmail.com
Sat Mar 7 13:13:29 PST 2015


That makes better sense to me. I was about to suggest something like
3.7wannabe-NNNNNNNN... The "pre" makes it clearer.

On Sat, Mar 7, 2015 at 1:01 PM, Richard Smith <richard at metafoo.co.uk> wrote:

> 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/c13e215b/attachment.html>


More information about the cfe-dev mailing list