View Issue Details

IDProjectCategoryView StatusLast Update
0000773LDMud 3.5LPC Compiler/Preprocessorpublic2018-01-30 03:59
Reporterzesstra Assigned Tozesstra  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSMacOS XOS Version10.5.x
Target Version3.5.0Fixed in Version3.5.0 
Summary0000773: LPC preprocessor uses int for parsing numbers
Descriptioncond_get_exp() in lex.c uses ints (and returns ints) for parsing numbers in preprocessor conditions. Therefore it can't handle values > 2147483647 correctly, rendering conditions like __INT_MAX__ > 2147483647 non-functional.
Steps To Reproduce#if __INT_MAX__ > 2147483647
printf("Platform seems to be LP64.\n";
#endif
(the printf will never be executed)
TagsNo tags attached.

Relationships

child of 0000555 closed Complete support for 64bit (LP64) architectures 

Activities

zesstra

2011-02-13 20:31

administrator   ~0001965

Fix committed in revision 4f80a4950e2a6f3076b6e631a716e5fc13658bd9 to master branch (see changeset 758 for details). Thank you for reporting!

zesstra

2018-01-29 21:57

administrator   ~0002385

Fix committed in revision 4f80a4950e2a6f3076b6e631a716e5fc13658bd9 to master branch (see changeset 2925 for details). Thank you for reporting!

zesstra

2018-01-30 03:59

administrator   ~0002436

Fix committed in revision 4f80a4950e2a6f3076b6e631a716e5fc13658bd9 to master branch (see changeset 4007 for details). Thank you for reporting!

Issue History

Date Modified Username Field Change
2011-02-13 18:12 zesstra New Issue
2011-02-13 18:12 zesstra Status new => assigned
2011-02-13 18:12 zesstra Assigned To => zesstra
2011-02-13 18:13 zesstra Relationship added child of 0000555
2011-02-13 20:31 zesstra Source_changeset_attached => ldmud.git master 4f80a495
2011-02-13 20:31 zesstra Note Added: 0001965
2011-02-13 20:31 zesstra Status assigned => resolved
2011-02-13 20:31 zesstra Resolution open => fixed
2011-02-13 21:36 zesstra Fixed in Version => 3.5.0
2015-07-24 07:18 guest Note Added: 0002261
2015-07-24 07:18 guest Status resolved => closed
2018-01-29 18:59 zesstra Source_changeset_attached => ldmud.git master 4f80a495
2018-01-29 21:57 zesstra Source_changeset_attached => ldmud.git master 4f80a495
2018-01-29 21:57 zesstra Note Added: 0002385
2018-01-30 03:59 zesstra Source_changeset_attached => ldmud.git master 4f80a495
2018-01-30 03:59 zesstra Note Added: 0002436