← Back to team overview

kicad-developers team mailing list archive

Revision 2604 has broken cvpcb and some random warnings

 

[ 70%] Building CXX object cvpcb/CMakeFiles/cvpcb.dir/cvpcb.cpp.o
/Users/jerry/Projects/kicad/testing/cvpcb/cvpcb.cpp: In member
function ‘virtual bool WinEDA_App::OnInit()’:
/Users/jerry/Projects/kicad/testing/cvpcb/cvpcb.cpp:87: error:
‘ID_KICAD_ABOUT’ was not declared in this scope
/Users/jerry/Projects/kicad/testing/cvpcb/cvpcb.cpp:88: error:
‘ID_OPTIONS_SETUP’ was not declared in this scope
make[2]: *** [cvpcb/CMakeFiles/cvpcb.dir/cvpcb.cpp.o] Error 1
make[1]: *** [cvpcb/CMakeFiles/cvpcb.dir/all] Error 2

Including id.h seems to fix this.

Also some not nice warning include:

[ 87%] Building CXX object pcbnew/CMakeFiles/pcbnew.dir/block.cpp.o
/Users/jerry/Projects/kicad/testing/pcbnew/block.cpp: In function
‘void drawPickedItems(WinEDA_DrawPanel*, wxDC*, wxPoint)’:
/Users/jerry/Projects/kicad/testing/pcbnew/block.cpp:653: warning:
enumeration value ‘NOT_USED’ not handled in switch
/Users/jerry/Projects/kicad/testing/pcbnew/block.cpp:653: warning:
enumeration value ‘EOT’ not handled in switch
/Users/jerry/Projects/kicad/testing/pcbnew/block.cpp:653: warning:
enumeration value ‘TYPE_NOT_INIT’ not handled in switch
/Users/jerry/Projects/kicad/testing/pcbnew/block.cpp:653: warning:
enumeration value ‘TYPE_PCB’ not handled in switch
/Users/jerry/Projects/kicad/testing/pcbnew/block.cpp:653: warning:
enumeration value ‘TYPE_SCREEN’ not handled in switch

And this:

/Users/jerry/Projects/kicad/testing/pcbnew/export_vrml.cpp:760:
warning: ‘void export_vrml_zones(BOARD*)’ defined but not used

And this:

In file included from /Users/jerry/Projects/kicad/testing/common/xnode.cpp:26:
/Users/jerry/Projects/kicad/testing/include/xnode.h: In member
function ‘wxString XNODE::GetAttribute(const wxString&, const
wxString&) const’:
/Users/jerry/Projects/kicad/testing/include/xnode.h:76: warning:
‘GetPropVal’ is deprecated (declared at
/opt/wxwidgets/65968/include/wx-2.9/wx/xml/xml.h:229)
/Users/jerry/Projects/kicad/testing/include/xnode.h: In member
function ‘bool XNODE::GetAttribute(const wxString&, wxString*) const’:
/Users/jerry/Projects/kicad/testing/include/xnode.h:80: warning:
‘GetPropVal’ is deprecated (declared at
/opt/wxwidgets/65968/include/wx-2.9/wx/xml/xml.h:226)
/Users/jerry/Projects/kicad/testing/include/xnode.h: In member
function ‘wxXmlAttribute* XNODE::GetAttributes() const’:
/Users/jerry/Projects/kicad/testing/include/xnode.h:88: warning:
‘GetProperties’ is deprecated (declared at
/opt/wxwidgets/65968/include/wx-2.9/wx/xml/xml.h:223)

And last:

In file included from
/Users/jerry/Projects/kicad/testing/eeschema/netform.cpp:53:
/Users/jerry/Projects/kicad/testing/include/xnode.h: In member
function ‘wxString XNODE::GetAttribute(const wxString&, const
wxString&) const’:
/Users/jerry/Projects/kicad/testing/include/xnode.h:76: warning:
‘GetPropVal’ is deprecated (declared at
/opt/wxwidgets/65968/include/wx-2.9/wx/xml/xml.h:229)
/Users/jerry/Projects/kicad/testing/include/xnode.h: In member
function ‘bool XNODE::GetAttribute(const wxString&, wxString*) const’:
/Users/jerry/Projects/kicad/testing/include/xnode.h:80: warning:
‘GetPropVal’ is deprecated (declared at
/opt/wxwidgets/65968/include/wx-2.9/wx/xml/xml.h:226)
/Users/jerry/Projects/kicad/testing/include/xnode.h: In member
function ‘wxXmlAttribute* XNODE::GetAttributes() const’:
/Users/jerry/Projects/kicad/testing/include/xnode.h:88: warning:
‘GetProperties’ is deprecated (declared at
/opt/wxwidgets/65968/include/wx-2.9/wx/xml/xml.h:223)

I compile on OS X with wxWidgets 2.9.2 (svn revision 65968)

Kind Regards,
Jerry Jacobs



Follow ups