Boolean的初始化编译错误

/home/boolean/apps/edit/src/gdssourc/shape.cpp: In member function `virtual void Shape::UpdatePropList()':
/home/boolean/apps/edit/src/gdssourc/shape.cpp:182: warning: converting to `int' from `float'
[ 74%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/gdssourc/structur.cpp.o
[ 75%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/drivers/wxsvg.cpp.o
/home/boolean/apps/edit/src/drivers/wxsvg.cpp: In member function `virtual void wxSVGFileDC::DoDrawRotatedText(const wxString&, wxCoord, wxCoord, double)':
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:264: warning: passing `double' for converting 1 of `virtual void wxDCBase::CalcBoundingBox(wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:264: warning: passing `double' for converting 2 of `virtual void wxDCBase::CalcBoundingBox(wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:270: warning: passing `double' for converting 1 of `virtual void wxDCBase::CalcBoundingBox(wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:270: warning: passing `double' for converting 2 of `virtual void wxDCBase::CalcBoundingBox(wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/wxsvg.cpp: In function `void wx_draw_open_spline(wxDC*, wxSpline*)':
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:729: warning: `First' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1171)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:730: warning: `Data' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1164)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:735: warning: `Next' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1162)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:736: warning: `Data' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1164)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:747: warning: `Next' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1162)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:749: warning: `Data' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1164)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp: In function `void wx_spline_draw_point_array(wxDC*)':
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:896: warning: `First' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1171)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:899: warning: `Data' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1164)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:902: warning: `First' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1171)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp: In member function `void wxSpline::DeletePoints()':
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:920: warning: `First' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1171)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:920: warning: `First' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1171)
/home/boolean/apps/edit/src/drivers/wxsvg.cpp:922: warning: `Data' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1164)
[ 76%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/gdssourc/arc.cpp.o
/home/boolean/apps/edit/src/gdssourc/arc.cpp: In member function `virtual void SLine::DoWrite(DrawDriver&)':
/home/boolean/apps/edit/src/gdssourc/arc.cpp:1271: warning: passing `double' for converting 1 of `void wxPen::SetWidth(int)'
/home/boolean/apps/edit/src/gdssourc/arc.cpp:1276: warning: passing `double' for converting 1 of `void wxPen::SetWidth(int)'
[ 77%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/gdssourc/bbox.cpp.o
[ 78%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/gdssourc/boundary.cpp.o
[ 79%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/gdssourc/element.cpp.o
/home/boolean/apps/edit/src/gdssourc/element.cpp: In member function `Element& Element::operator=(Element&)':
/home/boolean/apps/edit/src/gdssourc/element.cpp:88: warning: `First' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1171)
/home/boolean/apps/edit/src/gdssourc/element.cpp:91: warning: `Data' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1164)
/home/boolean/apps/edit/src/gdssourc/element.cpp:94: warning: `Next' is deprecated (declared at /home/wxX11/include/wx-2.8/wx/list.h:1162)
/home/boolean/apps/edit/src/gdssourc/element.cpp: In member function `void Element::AddProperty(const wxString&, const wxString&, const wxString&)':
/home/boolean/apps/edit/src/gdssourc/element.cpp:164: warning: converting to `long int' from `double'
[ 80%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/gdssourc/gdsii.cpp.o
[ 81%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/gdssourc/gdsio.cpp.o
/home/boolean/apps/edit/src/gdssourc/gdsio.cpp:493:9: warning: extra tokens at end of #endif directive
[ 82%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/drivers/keydrin.cpp.o
In file included from /home/boolean/apps/edit/src/drivers/keydrin.cpp:26:
/home/boolean/apps/edit/include/trans.h:82:7: warning: no newline at end of file
[ 83%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/drivers/keydrout.cpp.o
In file included from /home/boolean/apps/edit/src/drivers/keydrout.cpp:12:
/home/boolean/apps/edit/include/trans.h:82:7: warning: no newline at end of file
[ 84%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/drivers/printer.cpp.o
/home/boolean/apps/edit/src/drivers/printer.cpp: In member function `virtual bool PrintDriver::OnPrintPage(int)':
/home/boolean/apps/edit/src/drivers/printer.cpp:90: warning: taking address of temporary
/home/boolean/apps/edit/src/drivers/printer.cpp:125: warning: passing `double' for converting 2 of `void wxDCBase::DrawText(const wxString&, wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/printer.cpp:125: warning: passing `double' for converting 3 of `void wxDCBase::DrawText(const wxString&, wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/printer.cpp:126: warning: passing `double' for converting 2 of `void wxDCBase::DrawText(const wxString&, wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/printer.cpp:126: warning: passing `double' for converting 3 of `void wxDCBase::DrawText(const wxString&, wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/printer.cpp:133: warning: passing `double' for converting 1 of `virtual void wxDC::SetDeviceOrigin(wxCoord, wxCoord)'
/home/boolean/apps/edit/src/drivers/printer.cpp:133: warning: passing `double' for converting 2 of `virtual void wxDC::SetDeviceOrigin(wxCoord, wxCoord)'
[ 85%] Building CXX object apps/edit/CMakeFiles/edit.dir/src/drivers/scrndrv.cpp.o
/home/boolean/apps/edit/src/drivers/scrndrv.cpp: In member function `void DrawDriver::SetScroll(double, double, double, double)':
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:131: warning: passing `double' for converting 1 of `void Canvas::AdjustScrollBars(int, int, int, int, int, int)'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:131: warning: passing `double' for converting 2 of `void Canvas::AdjustScrollBars(int, int, int, int, int, int)'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:131: warning: passing `double' for converting 4 of `void Canvas::AdjustScrollBars(int, int, int, int, int, int)'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:131: warning: passing `double' for converting 5 of `void Canvas::AdjustScrollBars(int, int, int, int, int, int)'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp: In member function `void DrawDriver::WindowsPolygon()':
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:514: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:515: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:516: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:517: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:523: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:524: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:525: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:526: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:564: error: `wxClientDCbuf' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:564: error: `he' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:564: error: expected primary-expression before ')' token
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:564: error: expected `)' before "wxCheckDynamicCast"
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:567: error: `wxTransparentPolygon' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:567: error: expected `;' before "object"
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:568: error: `object' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp: In member function `void DrawDriver::WindowsPolygon_NoOutLine()':
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:670: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:671: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:672: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:673: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:679: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:680: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:681: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:682: warning: converting to `int' from `double'
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:713: error: `wxClientDCbuf' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:713: error: `he' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:713: error: expected primary-expression before ')' token
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:713: error: expected `)' before "wxCheckDynamicCast"
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:716: error: `wxTransparentPolygon' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:716: error: expected `;' before "object"
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:717: error: `object' was not declared in this scope
/home/boolean/apps/edit/src/drivers/scrndrv.cpp: In member function `void DrawDriver::GDSDrawText(const wxString&, double, double, double, double, Text*, wxTransformMatrix*)':
/home/boolean/apps/edit/src/drivers/scrndrv.cpp:1165: warning: passing `double' for converting 1 of `wxFont::wxFont(int, int, int, int, bool, const wxString&, wxFontEncoding)'
make[2]: *** [apps/edit/CMakeFiles/edit.dir/src/drivers/scrndrv.cpp.o] Error 1
make[1]: *** [apps/edit/CMakeFiles/edit.dir/all] Error 2
make: *** [all] Error 2
bigboy /home/boolean $

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值