← Back to team overview

kicad-developers team mailing list archive

Re: issue with sscanf %lf vs %f

 

On 07/26/2014 02:53 PM, Mário Luzeiro wrote:
> Hi all,
> 
> I notice that in my system, I have problems parsing data with actual %lf notation that kicad is using.
> I got warnings about it when it is building, complaining that it is expecting a double but it is parsing to float.


Line 50 of 3d-viewer/3d_struct.h shows that the recipient data item is double.


I don't use sscanf() myself, preferring strtod().  But I don't understand the problem.
Could it be somebody changed line 50 from:

    double x, y, z;

?



References