ICU-3927 added a note to utmscale_fromDouble about why fromMin, fromMax are "volatile."
X-SVN-Rev: 16605
This commit is contained in:
parent
1ab8447475
commit
04b1d434aa
@ -82,6 +82,11 @@ utmscale_getTimeScaleData(UDateTimeScale timeScale, UTimeScaleData *data, UError
|
||||
U_CAPI int64_t U_EXPORT2
|
||||
utmscale_fromDouble(double otherTime, UDateTimeScale timeScale, UErrorCode *status)
|
||||
{
|
||||
/*
|
||||
* NOTE: fromMin and fromMax are marked "volatile" because the
|
||||
* with the gcc compiler, the code which compares otherTime to
|
||||
* fromMin and fromMax seems to fail if data->fromMax is U_INT64_MAX.
|
||||
*/
|
||||
const InternalTimeScaleData *data;
|
||||
volatile double fromMin, fromMax;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user