← Back to team overview

kicad-developers team mailing list archive

compiler warning

 


Can someone please fix this:


/svn/kicad/product/common/common.cpp:48:13: warning: #warning "You must use
'--with-gnomeprint' or '--with-gtkprint' in your wx library configuration for full print
capabilities." [-Wcpp]
     #       warning "You must use '--with-gnomeprint' or '--with-gtkprint' in your wx
library configuration for full print capabilities."
             ^
/svn/kicad/product/3d-viewer/vrml_v2_modelparser.cpp: In member function ‘int
VRML2_MODEL_PARSER::read_Transform()’:
/svn/kicad/product/3d-viewer/vrml_v2_modelparser.cpp:160:143: warning: ignoring return
value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
[-Wunused-result]
             fscanf( m_file, "%f %f %f %f", &m_model->m_rotation[0],
&m_model->m_rotation[1], &m_model->m_rotation[2], &m_model->m_rotation[3]);

                                                     ^
/svn/kicad/product/3d-viewer/vrml_v2_modelparser.cpp:167:175: warning: ignoring return
value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
[-Wunused-result]
             fscanf( m_file, "%f %f %f %f", &m_model->m_scaleOrientation[0],
&m_model->m_scaleOrientation[1], &m_model->m_scaleOrientation[2],
&m_model->m_scaleOrientation[3]);

                                                                                     ^
/svn/kicad/product/3d-viewer/vrml_v2_modelparser.cpp:180:43: warning: ignoring return
value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
[-Wunused-result]
             fscanf( m_file, "%d", &dummy );
                                           ^




Follow ups