WG14 N982


Defect Report #2dd

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.0
Date: 2002-06-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



Previous Defect Report < - > Next Defect Report