View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000630 | LDMud 3.3 | LPC Compiler/Preprocessor | public | 2009-04-21 03:43 | 2018-01-29 21:57 |
Reporter | Gnomi | Assigned To | Gnomi | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | i686 | OS | Debian GNU/Linux | OS Version | 4.0 |
Product Version | 3.3.718 | ||||
Target Version | 3.3.719 | Fixed in Version | 3.3.719 | ||
Summary | 0000630: Imperfect overflow detection | ||||
Description | When numeric literals exceed __INT_MAX__ there's usually a warning "Number exceeds numeric limits" and __INT_MAX__ is returned. This fails for numbers between __INT_MAX__+1 and 2*__INT_MAX__ (and slightly above until the next multiple of 10). The same applies to to_int. | ||||
Tags | No tags attached. | ||||
|
Fixed in r2561. |
|
We'll have to revisit this. Now return __INT_MIN__ gives a warning. So does the NAME_INHERITED define from function_list.h (on 32 bit platform) |
|
Fixed the latter in r2580. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-04-21 03:43 | Gnomi | New Issue | |
2009-04-21 03:43 | Gnomi | Status | new => assigned |
2009-04-21 03:43 | Gnomi | Assigned To | => Gnomi |
2009-05-04 16:26 | Gnomi | Note Added: 0001078 | |
2009-05-04 16:26 | Gnomi | Status | assigned => resolved |
2009-05-04 16:26 | Gnomi | Fixed in Version | => 3.3.719 |
2009-05-04 16:26 | Gnomi | Resolution | open => fixed |
2009-05-10 07:52 | fufu | Note Added: 0001090 | |
2009-05-10 11:13 | fufu | Note Added: 0001094 | |
2010-11-16 09:42 | Gnomi | Source_changeset_attached | => ldmud.git master d78d5163 |
2018-01-29 18:59 | Gnomi | Source_changeset_attached | => ldmud.git master d78d5163 |
2018-01-29 21:57 | Gnomi | Source_changeset_attached | => ldmud.git master d78d5163 |