kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #07093
Testing r3239 debug build errors.
Vladimir,
Your last commit fails on debug build in file class_pad.cpp. I'm building this
on Windows XP, MinGW, and wxWidgets 2.9.2. Did you change the type of the
m_Pos member of D_PAD? If so, this error probably exists in Show() method of
all the other pcb objects as well. If you cannot get to this soon, please
revert your changes. I do almost all of my development with debug builds so it
is important to me that debug builds are not broken.
Thanks,
Wayne
Here is error:
e:/src/kicad-testing/trunk/pcbnew/class_pad.cpp: In member function 'virtual
void D_PAD::Show(int, std::ostream&)':
e:/src/kicad-testing/trunk/pcbnew/class_pad.cpp:991:44: error: no match for
'operator<<' in 'std::operator<< [with _Traits = std::char_traits<char>]((* &
std::operator<< [with _Traits = std::char_traits<char>]((* & std::operator<<
[with _Traits = std::char_traits<char>]((* & std::operator<< [with _Traits =
std::char_traits<char>]((* &(& std::operator<< [with _Traits =
std::char_traits<char>]((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & operator<<((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & operator<<((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & operator<<((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & operator<<((* & std::operator<< [with _Traits =
std::char_traits<char>]((* & EDA_ITEM::NestedSpace(nestLevel, (* & os))), 60)),
(* & wxString::mb_str(const wxMBConv&) const((*(const
wxMBConv*)wxGet_wxConvLibc()))))), ((const char*)" shape=\""))), (*(const
wxString*)(& D_PAD::ShowPadShape() const())))), 34)), ((const char*)"
attr=\""))), (*(const wxString*)(& D_PAD::ShowPadAttr() const())))), 34)),
((const char*)" num=\""))), ((const char*)(& padname)))), 34)), ((const char*)"
net=\""))), (* & wxString::mb_str(const wxMBConv&) const((*(const
wxMBConv*)wxGet_wxConvLibc()))))), 34)), ((const char*)"
netcode=\"")))->std::basic_ostream<_CharT, _Traits>::operator<< [with _CharT =
char, _Traits =
std::char_traits<char>](((D_PAD*)this)->D_PAD::<anonymous>.BOARD_CONNECTED_ITEM::GetNet())),
34)), ((const char*)" layerMask=\""))), ((const char*)(& layerMask)))), 34) <<
((D_PAD*)this)->D_PAD::m_Pos'
e:/src/kicad-testing/trunk/pcbnew/class_pad.cpp:991:44: note: candidates are:
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:110:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type&
(*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char,
_Traits = std::char_traits<char>, std::basic_ostream<_CharT,
_Traits>::__ostream_type = std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:110:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to
'std::basic_ostream<char>::__ostream_type&
(*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>&
(*)(std::basic_ostream<char>&)}'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:119:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type&
(*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char,
_Traits = std::char_traits<char>, std::basic_ostream<_CharT,
_Traits>::__ostream_type = std::basic_ostream<char>, std::basic_ostream<_CharT,
_Traits>::__ios_type = std::basic_ios<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:119:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to
'std::basic_ostream<char>::__ios_type&
(*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>&
(*)(std::basic_ios<char>&)}'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:129:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char,
_Traits = std::char_traits<char>, std::basic_ostream<_CharT,
_Traits>::__ostream_type = std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:129:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'std::ios_base&
(*)(std::ios_base&)'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:167:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(long int) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:167:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'long int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:171:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:171:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'long unsigned int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:175:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(bool) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:175:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'bool'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/ostream.tcc:93:5:
note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
_Traits>::operator<<(short int) [with _CharT = char, _Traits =
std::char_traits<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/ostream.tcc:93:5:
note: no known conversion for argument 1 from 'VECTOR_PCB' to 'short int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:182:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:182:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'short unsigned int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/ostream.tcc:107:5:
note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
_Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/ostream.tcc:107:5:
note: no known conversion for argument 1 from 'VECTOR_PCB' to 'int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:193:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(unsigned int) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:193:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'unsigned int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:202:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(long long int) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:202:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'long long int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:206:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:206:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'long long unsigned int'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:211:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(double) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:211:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'double'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:215:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(float) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:215:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'float'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:223:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(long double) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:223:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'long double'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:227:7: note:
std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT,
_Traits>::operator<<(const void*) [with _CharT = char, _Traits =
std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type =
std::basic_ostream<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:227:7: note: no
known conversion for argument 1 from 'VECTOR_PCB' to 'const void*'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/ostream.tcc:121:5:
note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT,
_Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*)
[with _CharT = char, _Traits = std::char_traits<char>,
std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/ostream.tcc:121:5:
note: no known conversion for argument 1 from 'VECTOR_PCB' to
'std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}'
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/basic_string.h:2694:59: note:
template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT,
_Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const
std::basic_string<_CharT, _Traits, _Alloc>&)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:451:65: note:
template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:456:63: note:
template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:462:5: note:
template<class _Traits> std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, char)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:468:68: note:
template<class _Traits> std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:473:70: note:
template<class _Traits> std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:493:72: note:
template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/bits/ostream.tcc:323:70:
note: template<class _CharT, class _Traits> std::basic_ostream<_CharT,
_Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:510:5: note:
template<class _Traits> std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:523:75: note:
template<class _Traits> std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
e:\mingw45\bin\../lib/gcc/mingw32/4.6.1/include/c++/ostream:528:77: note:
template<class _Traits> std::basic_ostream<char, _Traits>&
std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
e:/src/kicad-testing/trunk/include/base_struct.h:18:22: note: std::ostream&
operator<<(std::ostream&, const wxPoint&)
e:/src/kicad-testing/trunk/include/base_struct.h:18:22: note: no known
conversion for argument 2 from 'VECTOR_PCB' to 'const wxPoint&'
e:/src/kicad-testing/trunk/include/base_struct.h:16:22: note: std::ostream&
operator<<(std::ostream&, const wxSize&)
e:/src/kicad-testing/trunk/include/base_struct.h:16:22: note: no known
conversion for argument 2 from 'VECTOR_PCB' to 'const wxSize&'
e:/src/kicad-testing/trunk/include/common.h:264:11: note: wxString&
operator<<(wxString&, const wxPoint&)
e:/src/kicad-testing/trunk/include/common.h:264:11: note: no known conversion
for argument 1 from 'std::basic_ostream<char>' to 'wxString&'
e:/MinGW45/include/wx-2.9/wx/bitmap.h:36:1: note: wxVariant&
operator<<(wxVariant&, const wxBitmap&)
e:/MinGW45/include/wx-2.9/wx/bitmap.h:36:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxVariant&'
e:/MinGW45/include/wx-2.9/wx/bitmap.h:36:1: note: wxBitmap&
operator<<(wxBitmap&, const wxVariant&)
e:/MinGW45/include/wx-2.9/wx/bitmap.h:36:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxBitmap&'
e:/MinGW45/include/wx-2.9/wx/image.h:95:1: note: wxVariant&
operator<<(wxVariant&, const wxImage&)
e:/MinGW45/include/wx-2.9/wx/image.h:95:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxVariant&'
e:/MinGW45/include/wx-2.9/wx/image.h:95:1: note: wxImage& operator<<(wxImage&,
const wxVariant&)
e:/MinGW45/include/wx-2.9/wx/image.h:95:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxImage&'
e:/MinGW45/include/wx-2.9/wx/colour.h:57:1: note: wxVariant&
operator<<(wxVariant&, const wxColour&)
e:/MinGW45/include/wx-2.9/wx/colour.h:57:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxVariant&'
e:/MinGW45/include/wx-2.9/wx/colour.h:57:1: note: wxColour&
operator<<(wxColour&, const wxVariant&)
e:/MinGW45/include/wx-2.9/wx/colour.h:57:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxColour&'
e:/MinGW45/include/wx-2.9/wx/icon.h:72:1: note: wxVariant&
operator<<(wxVariant&, const wxIcon&)
e:/MinGW45/include/wx-2.9/wx/icon.h:72:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxVariant&'
e:/MinGW45/include/wx-2.9/wx/icon.h:72:1: note: wxIcon& operator<<(wxIcon&,
const wxVariant&)
e:/MinGW45/include/wx-2.9/wx/icon.h:72:1: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'wxIcon&'
e:/MinGW45/include/wx-2.9/wx/longlong.h:1076:44: note: wxTextOutputStream&
operator<<(wxTextOutputStream&, long long int)
e:/MinGW45/include/wx-2.9/wx/longlong.h:1076:44: note: no known conversion
for argument 1 from 'std::basic_ostream<char>' to 'wxTextOutputStream&'
e:/MinGW45/include/wx-2.9/wx/longlong.h:1075:44: note: wxTextOutputStream&
operator<<(wxTextOutputStream&, long long unsigned int)
e:/MinGW45/include/wx-2.9/wx/longlong.h:1075:44: note: no known conversion
for argument 1 from 'std::basic_ostream<char>' to 'wxTextOutputStream&'
e:/MinGW45/include/wx-2.9/wx/string.h:4146:34: note: std::wostream&
operator<<(std::wostream&, const wxScopedWCharBuffer&)
e:/MinGW45/include/wx-2.9/wx/string.h:4146:34: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'std::wostream& {aka
std::basic_ostream<wchar_t>&}'
e:/MinGW45/include/wx-2.9/wx/string.h:4145:34: note: std::wostream&
operator<<(std::wostream&, const wxCStrData&)
e:/MinGW45/include/wx-2.9/wx/string.h:4145:34: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'std::wostream& {aka
std::basic_ostream<wchar_t>&}'
e:/MinGW45/include/wx-2.9/wx/string.h:4144:34: note: std::wostream&
operator<<(std::wostream&, const wxString&)
e:/MinGW45/include/wx-2.9/wx/string.h:4144:34: note: no known conversion for
argument 1 from 'std::basic_ostream<char>' to 'std::wostream& {aka
std::basic_ostream<wchar_t>&}'
e:/MinGW45/include/wx-2.9/wx/string.h:4139:33: note: std::ostream&
operator<<(std::ostream&, const wxScopedWCharBuffer&)
e:/MinGW45/include/wx-2.9/wx/string.h:4139:33: note: no known conversion for
argument 2 from 'VECTOR_PCB' to 'const wxScopedWCharBuffer& {aka const
wxScopedCharTypeBuffer<wchar_t>&}'
e:/MinGW45/include/wx-2.9/wx/string.h:4137:33: note: std::ostream&
operator<<(std::ostream&, const wxScopedCharBuffer&)
e:/MinGW45/include/wx-2.9/wx/string.h:4137:33: note: no known conversion for
argument 2 from 'VECTOR_PCB' to 'const wxScopedCharBuffer& {aka const
wxScopedCharTypeBuffer<char>&}'
e:/MinGW45/include/wx-2.9/wx/string.h:4136:33: note: std::ostream&
operator<<(std::ostream&, const wxCStrData&)
e:/MinGW45/include/wx-2.9/wx/string.h:4136:33: note: no known conversion for
argument 2 from 'VECTOR_PCB' to 'const wxCStrData&'
e:/MinGW45/include/wx-2.9/wx/string.h:4135:33: note: std::ostream&
operator<<(std::ostream&, const wxString&)
e:/MinGW45/include/wx-2.9/wx/string.h:4135:33: note: no known conversion for
argument 2 from 'VECTOR_PCB' to 'const wxString&'
Follow ups