[ECOS] Fwd: tclConfig.sh error in ubuntu edgy 6.10

Tales Toledo toledo.tales@gmail.com
Wed Mar 21 15:39:00 GMT 2007


Hi Lars,

> The problem the compiler is encountering is some unicode issue. wxStrings
> printf cannot handle char and wchar_t in one function call.

I fix it this way (ecos/host/tools/configtool/standalone/wxwin/mainwin.cpp)

1)
	msg.Printf(_("eCos Configuration Tool %s (%s %s)\n\nCopyright (c) Red
Hat, Inc. 1998-2002\nCopyright (c) John Dallaway 2003\nCopyright (c)
eCosCentric Limited 2004-2006"), ecCONFIGURATION_TOOL_VERSION,
wxT(__DATE__), wxT(__TIME__));

but also could be something like

2)
	msg.Printf(wxT("eCos Configuration Tool %s (%s %s)\n\nCopyright (c)
Red Hat, Inc. 1998-2002\nCopyright (c) John Dallaway 2003\nCopyright
(c) eCosCentric Limited 2004-2006"), ecCONFIGURATION_TOOL_VERSION,
__TDATE__, __TTIME__);

I'm not sure which is the best one.

> I don't know what is in Andreas Fritiofson's patch or if the cvs sources
> changed shortly, I will investigate on this and create a new patch if
> necessary next week.

Let me know if you check this. Anyway I will do some new tests to make
sure that Andreas patch is really necessary.

Thx,
TT

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list