View Issue Details

IDProjectCategoryView StatusLast Update
0000003LDMud 3.2-devLPC Compiler/Preprocessorpublic2004-05-17 09:27
Reportermenaures Assigned Tolars 
Status closedResolutionfixed 
Summary0000003: strong_types leads to "strict_types" error message
DescriptionThe following code:

#pragma strong_types
main() {}

gives this error message:
"#pragma strict_types" requires type of function

But there is no strict_types active after all. The message should always refer to the actually set pragma that caused the error. Otherwise its irritating.
TagsNo tags attached.



2003-07-28 23:18

reporter   ~0000013

Improved the error message in the LPC compiler to name the active pragma. The error is historic, as strong_types was introduced after and as extension to strict_types.

Corrected in 3.2.10-dev.596 and 3.3.467.

Issue History

Date Modified Username Field Change
2003-05-30 16:51 menaures New Issue
2003-07-28 23:18 lars Status new => resolved
2003-07-28 23:18 lars Resolution open => fixed
2003-07-28 23:18 lars Assigned To => lars
2003-07-28 23:18 lars Note Added: 0000013
2004-05-17 09:27 lars Status resolved => closed