kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22508
Re: kicad curl errors
Whoops! That was gcc 4.7.3 on windows (msys1/mingw32).
On 1/11/2016 9:26 AM, Wayne Stambaugh wrote:
> You're not the only one. It's choking form me with gcc 5.3 on windows.
> I'm working on it now.
>
> On 1/11/2016 9:19 AM, Simon Wells wrote:
>> I am currently trying to build and getting
>>
>> [ 30%] Building CXX object
>> common/CMakeFiles/common.dir/kicad_curl/kicad_curl.cpp.o
>>
>> kicad/common/kicad_curl/kicad_curl.cpp:107:46: error: cannot
>>
>> pass non-POD object of type 'wxString' to variadic function;
>> expected type from format string was
>>
>> 'char *' [-Wnon-pod-varargs]
>>
>> canonicalName );
>>
>> ^~~~~~~~~~~~~
>>
>> kicad/common/kicad_curl/kicad_curl.cpp:123:29: error: cannot
>>
>> cast from type 'wxString' to pointer type 'const char *'
>>
>> static_cast<const char*>( canonicalName ),
>>
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> 2 errors generated.
>>
>> this is with clang on osx, and appears to be related to commit 6440
>>
>> I have noticed that jenkins seems to be building fine so it may only be
>> a clang issue, but why is it being casted in the latter case and not the
>> former case anyways
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>>
Follow ups
References