This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: configtool development
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Andy Jackson <andy at grapevinetech dot co dot uk>
- Cc: ecos-devel at ecos dot sourceware dot org, Lars Poeschel <larsi at wh2 dot tu-dresden dot de>
- Date: Mon, 1 May 2006 18:15:41 +0200
- Subject: Re: configtool development
- References: <200604141947.07839.larsi@wh2.tu-dresden.de> <001c01c66d2a$84a2e5c0$9701a8c0@Kimbara>
On Mon, May 01, 2006 at 03:21:20PM +0100, Andy Jackson wrote:
> Hi,
>
> Apologies for the late response. Patches to enable Configtool compilation
> with wxWidgets 2.6.x can be found at our web site:
>
> http://www.xylanta.com
>
> in the Downloads section. My build environment is Cygwin, so your mileage
> may vary, however if they prove stable, then I will submit them for
> inclusion in the repository.
Hi Andy
Thanks for the pointer to the patch. Unfortunetly, it will not compile
on my Linux system.
c++ -O2 -c -I/usr/include/tcl8.4/ -I/opt/ecos//include -I/home/lunn/eCos/anoncvs-clean/host//tools/configtool/common/common -I/home/lunn/eCos/anoncvs-clean/host//tools/Utils/common -I/home/lunn/eCos/anoncvs-clean/host//tools/ecostest/common -DecUSE_EXPERIMENTAL_CODE=1 `/usr/bin/wx-config --cppflags` -o /home/lunn/eCos/build/aboutdlg.o /home/lunn/eCos/anoncvs-clean/host//tools/configtool/standalone/wxwin/aboutdlg.cpp
/home/lunn/eCos/anoncvs-clean/host//tools/Utils/common/Collections.h: In member function 'bool String::operator==(const char*) const':
/home/lunn/eCos/anoncvs-clean/host//tools/Utils/common/Collections.h:88: error: no matching function for call to 'String::compare(const char* const&) const'
/usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../include/c++/4.0.4/bits/basic_string.h:1919: note: candidates are: int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]
/usr/lib/gcc/i486-linux-gnu/4.0.4/../../../../include/c++/4.0.4/bits/basic_string.tcc:885: note: int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::size_type, typename _Alloc::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = wchar_t, _Traits =
std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]
I'm no C++ programmer, but it looks like a wchar problem. I had to
remove the eCos wcharunix.h and replace it with the system wchar.h to
get this far.
Andrew