mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: MinGW64 non-C99 build ends up with incorrect DUK_(U)INT64_{MIN,MAX} but correct duk_(u)int64_t type
|
|
desc: ""
|
|
type: :task
|
|
component: duk
|
|
release: v0.11
|
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
|
status: :closed
|
|
disposition: :fixed
|
|
creation_time: 2014-07-10 23:38:27.480523 Z
|
|
references: []
|
|
|
|
id: 8817afda2eafe9f021bbb13ca995388fac92a7ec
|
|
log_events:
|
|
- - 2014-07-10 23:38:27.553576 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- created
|
|
- ""
|
|
- - 2014-07-10 23:50:52.502738 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- commented
|
|
- |-
|
|
This was actually caused by limit debug printing using the %ld/%lu format
|
|
with a (long) or (unsigned long) cast. These are 32-bit on MinGW64 so
|
|
they printed out wrong but the constants were correct.
|
|
|
|
Added debug printing of limits with %lf and (double) cast which is not
|
|
exact but shows the magnitude to point out this kind of error.
|
|
- - 2014-07-10 23:50:59.870342 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- closed with disposition fixed
|
|
- ""
|
|
|