Re: ustring problem
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtkmm-list gnome org
- Cc: fedora-devel-list redhat com, Erwin Rol <mailinglists erwinrol com>
- Subject: Re: ustring problem
- Date: Thu, 1 Sep 2005 22:57:44 +0100
On Thursday 01 September 2005 21:45, Erwin Rol wrote:
> OK after recompiling the srpm from
> http://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS
>/glibmm24-2.6.1-1.src.rpm on my system it works correctly. During the
> configure of i can see the following line ;
>
> checking whether the compiler allows a static member variable to be
> initialized inline to std::string::npos... no
>
> which seems to do the trick, the question is why are the binary rpms not
> working, are they just compiled with a older/different compiler ?
>
> - Erwin
gcc-4.0 does allow static member variables to be initialised inline. So do
gcc-3.2, 3.3 and 3.4, with x86 at any rate.
Older pre-C++98 compilers may not. What does 'gcc --version' tell you? You
may have more than one compiler installed and be calling the wrong one.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]