giantchen2012 / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

xml_serializer.h uses nil as an argument identifier #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Tried using libkml in an Obj-C project

What is the expected output? What do you see instead?
When LibKML.h is included in an Objective-C++ file, it compiles cleanly

What version of the product are you using? On what operating system?
libKML SVN r859

Did you run the unit test suite that comes with the project? Did all tests pass?
No, I did not run the test suite.

Please provide any additional information below.
If the argument identifier is changed to something other than 'nil' (which is a 
reserved word in Objective-C), the project will compile in Objective-C++. Patch 
included.

Original issue reported on code.google.com by paxsw...@gmail.com on 29 Jul 2010 at 2:56

Attachments:

GoogleCodeExporter commented 9 years ago
Ah, I misread the second question. A clean compile is expected, what I got 
instead was a warning about __null in an argument.

Original comment by paxsw...@gmail.com on 30 Jul 2010 at 3:28

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r861.

Original comment by kml.mash...@gmail.com on 30 Jul 2010 at 5:01