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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to