This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] |
On 01/06/2015 06:22 AM, Andreas Schwab wrote:
This fails only at runtime if the value is wrong, which is not as good as >checking it at compile-time.Does it matter?
Not so much here, no, since the constant is always 1 million and the assert is optimized away. Still, we should prefer compile-time checking.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |