View Issue Details

IDProjectCategoryView StatusLast Update
0000588LDMud 3.3LPC Compiler/Preprocessorpublic2011-02-23 22:02
Reporter_xtian_ Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Platformx64OSlinuxOS Versiondebian/lenny
Product Version3.3 
Target Version3.3.721 
Summary0000588: function declaration after definition
DescriptionThe following code doesnt compile with the error:
"Redeclaration of function bla."

---
void bla()
{

}

void bla();
---

LPC does not like declarations after the definition.
It seems to me that the redeclaration should be valid if it is identical to the definition.
TagsNo tags attached.

Activities

zesstra

2009-03-04 16:14

administrator   ~0000977

On the other hand, I don't think it is a problem, if the declaration after the definition is an error.

Gnomi, Fuchur, does anyone of you want to 'discuss' with the compiler? ;-)

Issue History

Date Modified Username Field Change
2008-12-18 09:12 _xtian_ New Issue
2009-03-04 16:14 zesstra Note Added: 0000977
2009-03-04 16:14 zesstra Status new => confirmed
2009-03-04 16:15 zesstra Project LDMud => LDMud 3.3
2011-02-23 22:02 zesstra Target Version => 3.3.721