[cfe-dev] Clang version numbers

Renato Golin renato.golin at linaro.org
Sat Mar 7 12:56:07 PST 2015


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.

cheers,
--renato



More information about the cfe-dev mailing list