From: Andrew Lunn <andrew@lunn.ch>
To: Andy Jackson <andy@grapevinetech.co.uk>
Cc: ecos-devel@ecos.sourceware.org, Lars Poeschel <larsi@wh2.tu-dresden.de>
Subject: Re: configtool development
Date: Mon, 01 May 2006 16:15:00 -0000 [thread overview]
Message-ID: <20060501161541.GD4353@lunn.ch> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2006-05-01 16:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-14 17:47 Lars Poeschel
2006-04-14 17:59 ` Jiri Gaisler
2006-04-14 19:20 ` Fabian Scheler
2006-05-01 14:21 ` Andy Jackson
2006-05-01 16:15 ` Andrew Lunn [this message]
2006-05-02 8:57 ` John Dallaway
2006-06-01 17:38 ` Fabian Scheler
2006-06-01 15:50 ` John Dallaway
2006-07-03 9:38 Lars Poeschel
2006-07-03 10:18 ` John Dallaway
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060501161541.GD4353@lunn.ch \
--to=andrew@lunn.ch \
--cc=andy@grapevinetech.co.uk \
--cc=ecos-devel@ecos.sourceware.org \
--cc=larsi@wh2.tu-dresden.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).