KissXML icon indicating copy to clipboard operation
KissXML copied to clipboard

'namespace' is a keyword in Objective-C++

Open PitNick opened this issue 6 years ago • 0 comments

In a current project using objective c(++) extensively KissXML fails to compile.

Error messages referencing DDXMLElement.m: Expected identifier; 'namespace' is a keyword in Objective-C++

After changing all method parameters named "namespace" to e.g. "_namespace" the compilation is successful. E.g. change - (void)_addNamespace:(DDXMLNode *)namespace to - (void)_addNamespace:(DDXMLNode *)_namespace

PitNick avatar Jun 13 '19 12:06 PitNick