← Back to team overview

kicad-developers team mailing list archive

Re: KiCad BZR3707 - Compilation failed

 

On Sun, Sep 02, 2012 at 03:02:38PM -0000, Kerusey Karyu wrote:
> Still errors. This time somewhere else. :-(

Same therapy... just add a (long) cast before the variable name.

I grepped for other Write() instances and there shouldn't be any other.

This is my theory: wxConfig 2.8 has overloads for wxString, int, long,
double and bool. From the docs 2.9 hasn't the int version anymore (they
kept the long). So an enum can be implicitly converted to an int but not
to a long and int to long is not an automatic promotion. In other words
probably wx sucks even more than before:P

Sorry for the issue (I can't even make kicad compile on 2.9 on my
box... and 2.8 only works modifying the hashtables key type); there
seem to be nefarious interactions between the OS/wx version/compiler
version...

-- 
Lorenzo Marcantonio
Logos Srl