This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [whopr] Design/implementation alternatives for the driver and WPA


"Cary Coutant" <ccoutant@google.com> writes:

>> * GOLD_VERSION should perhaps say something about the format of the
>>  string.
>
> OK. What would be reasonable to say here? Just a string of the form
> "n.m"? Is it reasonable to require that later versions are lexically
> greater than earlier versions (e.g., can't have "1.9" then "1.10"), or
> is it OK to require parsing the string to do comparisons?

I think we should either do a n.m[.o] string as you suggest, and not
say anything about lexical requirements--that is require parsing the
string--or we should say it's a number, e.g., n * 100 + m.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]