[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] gcc-4.2 bug?
From: |
Antono Vasiljev |
Subject: |
Re: [gcmd-dev] gcc-4.2 bug? |
Date: |
Fri, 19 Oct 2007 00:30:31 +0300 |
On ĵaŭ, 2007-10-18 at 18:58 +0200, Piotr Eljasiak wrote:
> >
> > Although gcc-4.1 is default compiler for i386, gcc-4.2 is default compiler
> > for debian on amd64 now. So we should try to fix it...
> >
> > I don't pretend i know any C. But
> > <http://www.thescripts.com/forum/thread568121.html> explains it quite
> > simple. Maybe buff.size() becomes unsigned when it gets out of range ?
> > Or perhaps the check in line 88 can be done differently (calling for the
> > next error stop...)
> > And if nothing else helps, then perhaps
> > <http://gcc.gnu.org/ml/gcc-help/2004-05/msg00047.html>
>
>
> I believe I've fixed the problem with gcc-4.2. Could you verify it,
> please? rev #1220 & #1221
Last Changed Rev: 1223
Can't build it on debian with gcc4.2
In file included from gnome-cmd-tags.cc:28:
gnome-cmd-tags.h: In member function ‘const std::string&
GnomeCmdFileMetadata::operator[](GnomeCmdTag)’:
gnome-cmd-tags.h:578: error: no matching function for call to
‘join(const std::set<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >&, const char*&)’
gnome-cmd-tags.cc: In member function ‘void
GnomeCmdFileMetadata::addf(GnomeCmdTag, const gchar*, ...)’:
gnome-cmd-tags.cc:88: warning: comparison between signed and unsigned
integer expressions
--
Antono Vasiljev
http://antono.info
- [gcmd-dev] forward bug reports to devel list ?, Michael, 2007/10/15
- Re: [gcmd-dev] forward bug reports to devel list ?, Piotr Eljasiak, 2007/10/17
- Re: [gcmd-dev] forward bug reports to devel list ?, koos, 2007/10/17
- Re: [gcmd-dev] forward bug reports to devel list ?, Piotr Eljasiak, 2007/10/17
- Re: [gcmd-dev] forward bug reports to devel list ?, Michael, 2007/10/17
- Re: [gcmd-dev] gcc-4.2 bug?, Piotr Eljasiak, 2007/10/18
- Re: [gcmd-dev] gcc-4.2 bug?,
Antono Vasiljev <=
- Re: [gcmd-dev] gcc-4.2 bug?, Michael, 2007/10/18
- Re: [gcmd-dev] gcc-4.2 bug?, Piotr Eljasiak, 2007/10/19
- Re: [gcmd-dev] gcc-4.2 bug?, Michael, 2007/10/19
- Re: [gcmd-dev] gcc-4.2 bug?, Magnus Stålnacke, 2007/10/19
- Re: [gcmd-dev] gcc-4.2 bug?, Michael, 2007/10/19
- Re: [gcmd-dev] forward bug reports to devel list ?, Michael, 2007/10/18
- Re: [gcmd-dev] forward bug reports to devel list ?, Antono Vasiljev, 2007/10/18
- Re: [gcmd-dev] forward bug reports to devel list ?, koos, 2007/10/18
- Re: [gcmd-dev] forward bug reports to devel list ?, Piotr Eljasiak, 2007/10/22
- Re: [gcmd-dev] forward bug reports to devel list ?, Michael, 2007/10/22