Submitter:J. Benito (convener)
Submission Date: 2002-06-06
Reference Document: ISO/IEC WG14 N982
Subject: CLOCKS_PER_SEC should not be a constant expression.
In 7.23.1 Components of time, CLOCKS_PER_SEC
is defined as a macro which expands to a constant expression
with type clock_t.
CLOCKS_PER_SEC need not be a compile time
constant expression, but should be a runtime constant. A value
that is unchanged during program execution.
Suggested Technical Corrigendum
In 7.23.1 Components of time, remove the word "constant" in the 2nd paragraph.
Previous Defect Report < - > Next Defect Report