Subject: | DateTime.obj : error LNK2001: unresolved external symbol _finite |
this be windows
I dunno where it's supposed to come from.
The usual `#define finite _finite' trick gets the module compiled,
but the infinity test doesn't pass with flying colors
t\20infinite.......1..36
ok 1 - positive infinity should be infinite
ok 2 - negative infinity should be infinite
ok 3 - positive infinity should not be finite
ok 4 - negative infinity should not be finite
ok 5 - negative infinity is really negative
ok 6 - positive infinity is really positive
ok 7 - positive infinity is bigger than negative infinity
ok 8 - infinity - normal = infinity
ok 9 - normal + infinite duration = infinity
ok 10 - normal - infinity = neg infinity
ok 11 - normal + neg infinite duration = neg infinity
not ok 12 - infinity - infinity = nan (days)
# Failed test (t\20infinite.t at line 55)
# got: '1.#QNAN'
# expected: '-1.#IND'
not ok 13 - infinity - infinity = nan (seconds)
# Failed test (t\20infinite.t at line 55)
# got: '1.#QNAN'
# expected: '-1.#IND'
not ok 14 - infinity - infinity = nan (nanoseconds)
# Failed test (t\20infinite.t at line 55)
# got: '0'
# expected: '-1.#IND'
ok 15 - infinity + normal duration = infinity
ok 16 - infinity - normal duration = infinity
ok 17 - infinity (datetime) == infinity (number)
ok 18 - neg infinity (datetime) == neg infinity (number)
ok 19 - pos year is 1.\#INF
ok 20 - neg year is 1.\#INF
ok 21 - pos month is 1.\#INF
ok 22 - neg month is 1.\#INF
ok 23 - pos day is 1.\#INF
ok 24 - neg day is 1.\#INF
ok 25 - pos hour is 1.\#INF
ok 26 - neg hour is 1.\#INF
ok 27 - pos minute is 1.\#INF
ok 28 - neg minute is 1.\#INF
ok 29 - pos second is 1.\#INF
ok 30 - neg second is 1.\#INF
ok 31 - pos microsecond is 1.\#INF
ok 32 - neg microsecond is 1.\#INF
ok 33 - pos millisecond is 1.\#INF
ok 34 - neg millisecond is 1.\#INF
ok 35 - pos nanosecond is 1.\#INF
ok 36 - neg nanosecond is 1.\#INF