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

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);

makes it at least compilable, but of course may lead to crashes at runtime ...

Regards,
Thomas

-- 
Thomas Zehbe
 
 Dipl.-Ing.
 Allied-Visions GmbH
 Bäckerstraße 18
 31683 Obernkirchen
 
 Tel. +49 5724 951822
 Fax. +49 5724 951813
 
 E-mail: [EMAIL PROTECTED]
 
 Geschäftsführer: Dipl.-Ing. Martin Seger
 Amtsgericht Stadthagen, HRB 2124 

-------------------------------------------------------------------------
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