Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Implicit declaration of function 'xmlFree' is invalid in C99

We use WSDLParser tool to parse our xml content, till Xcode 9.2 everything was ok. As we shifted to Xcode 9.3, we are getting this error in one of parser file "Implicit declaration of function 'xmlFree' is invalid in C99".


Can anyone tell me why is that so?


Thanks

iPhone SE, iOS 10.1.1

Posted on

Reply

Page content loaded

Apr 21, 2018 12:49 PM in response to QasimAK In response to QasimAK

Are you declaring that function 'xmlFree' with an explicit return type, or as the error message indicates, assuming the compiler will take care of that implicit declaration for you? The good news and bad news about standards is that explicit declarations have become the norm.

Apr 21, 2018 12:49 PM

Reply Helpful

Apr 21, 2018 1:23 PM in response to QasimAK In response to QasimAK

Hello QasimAK,

The WSDLParser source can no longer find the correct XML header files. I haven't tried this on Xcode 9.3. The file could have been moved or you could have been including it incorrectly the whole time. There is no way to tell without inspecting the source code.

Apr 21, 2018 1:23 PM

Reply Helpful
User profile for user: QasimAK

Question: Implicit declaration of function 'xmlFree' is invalid in C99