Defect Report #281

Previous Defect Report < - > Next Defect Report


Submitter:J. Benito (convener)
Submission Date: 2002-06-06
Source: Convener
Reference Document: ISO/IEC WG14 N982
Version: 1.1
Date: 2003-03-06
Subject: CLOCKS_PER_SEC should not be a constant expression.

Summary

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


Technical Corrigendum

In 7.23.1 Components of time, remove the word "constant" in the 2nd paragraph.


Previous Defect Report < - > Next Defect Report