kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #05166
Re: Compiling fails on XML class on Apple OS X with wxWidgets 2.9-svn
On 08/11/2010 07:54 PM, Wayne Stambaugh wrote:
> On 8/11/2010 5:30 PM, Dick Hollenbeck wrote:
>
>>
>>> wxXmlProperty* GetAttributes() const
>>> {
>>> return GetProperties();
>>> }
>>>
>>>
>> Simplest is to use GetProperties() in xnode.cpp
>>
>> I think that solves the problem.
>>
> At least until they deprecate GetProperties() for GetAttributes() in
> some future version. Then it will have to be changed back. Ah the joys
> of software development.
>
> Wayne
>
Changed xnode.cpp to use wxXmlNode::GetProperties() instead of
GetAttributes(). Sorry to cause grief, but sometimes it takes several
folks who have different views of various versions and what not to
gather a consensus understanding of the common denominator.
Hopefully this will nail that problem.
Thanks for your help Wayne! Go for the library version detection if you
still want it. I'd suggest working from the stock CMake project
scripts, the newest in their repo as a starting point, and then giving
them back to them all shiny and better.
Dick
References