Thomas Zehbe wrote:
Hi Klaas,

now i get these errors:

/misc/wxArt2D/modules/gdsio/src/gdsio.cpp: In member function ‘void 
a2dIOHandlerGDSIn::ReadString(wxString&)’:
/misc/wxArt2D/modules/gdsio/src/gdsio.cpp:1149: error: call of overloaded 
‘wxString(char [512], int)’ is ambiguous
/misc/wxWidgets-2.8.7/include/wx/string.h:1283: note: candidates are: 
wxString::wxString(const void*, const void*) <near match>
/misc/wxWidgets-2.8.7/include/wx/string.h:694: note:                 
wxString::wxString(size_t, wxChar) <near match>
/misc/wxWidgets-2.8.7/include/wx/string.h:692: note:                 
wxString::wxString(wxChar, size_t) <near match>
/misc/wxArt2D/modules/gdsio/src/gdsio.cpp:1151: error: call of overloaded 
‘wxString(char [512], TWO_G_BYTE_UNSIGNED_INTEGER&)’ is ambiguous
/misc/wxWidgets-2.8.7/include/wx/string.h:1283: note: candidates are: 
wxString::wxString(const void*, const void*) <near match>
/misc/wxWidgets-2.8.7/include/wx/string.h:694: note:                 
wxString::wxString(size_t, wxChar) <near match>
/misc/wxWidgets-2.8.7/include/wx/string.h:692: note:                 
wxString::wxString(wxChar, size_t) <near match>
/misc/wxArt2D/modules/gdsio/src/gdsio.cpp: In member function ‘bool 
a2dIOHandlerGDSIn::Read(a2dPolygon*)’:
/misc/wxArt2D/modules/gdsio/src/gdsio.cpp:1716: warning: cannot pass objects of 
non-POD type ‘class wxString’ through ‘...’; call will abort at runtime
/misc/wxArt2D/modules/gdsio/src/gdsio.cpp: In member function ‘bool 
a2dIOHandlerGDSIn::Read(a2dVertexList*)’:
/misc/wxArt2D/modules/gdsio/src/gdsio.cpp:1759: warning: cannot pass objects of 
non-POD type ‘class wxString’ through ‘...’; call will ab


Can you try adding m_strucname.c_str() here, i think that solves at least for 
2.8.7

Using wxChar instead of char[] doesn't help at once, because
... a2dIOHandlerGDSIn::Read(wxChar [512] ... provides an error.

Changing it to
a2dIOHandlerStrIn::Read( (char*)array, m_recordsize);


will look into this one.

Thanks,

Klaas

--
Unclassified
begin:vcard
fn:Klaas Holwerda
n:Holwerda;Klaas
note:Unclassified
version:2.1
end:vcard

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to