List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:May 13 2008 8:19pm
Subject:Re: Build issue, v3.0.3, gcc 4.3, x86_64 (with patch proposal)
View as plain text  
Remi Collet wrote:
> 
> Here is a little/trivial patch,
> but this is probably not the better solution :
> 
> --- lib/mystring.h.orig    2008-05-13 20:47:56.000000000 +0200
> +++ lib/mystring.h    2008-05-13 20:47:08.000000000 +0200
> @@ -144,7 +144,7 @@
>      typedef const char value_type;
> 
>      /// \brief Type of "size" integers
> -    typedef unsigned int size_type;
> +    typedef size_t size_type;

Works for me.  It doesn't cause any build warnings or dtest changes on 
i386, so I don't see a downside.  The only other option would be to add 
several static casts in lib/mystring.cpp, which would be uglier and 
wouldn't buy anything.

It's in svn now, but since 3.0.3 was just released, it's not enough to 
cause another release.  Average time between releases is a month, so I 
think you need to just patch your copy.
Thread
Build issue, v3.0.3, gcc 4.3, x86_64 (with patch proposal)Remi Collet13 May
  • Re: Build issue, v3.0.3, gcc 4.3, x86_64 (with patch proposal)Warren Young13 May
    • Re: Build issue, v3.0.3, gcc 4.3, x86_64 (with patch proposal)Remi Collet13 May
  • Re: Build issue, v3.0.3, gcc 4.3, x86_64 (with patch proposal)Jonathan Wakely13 May
    • Re: Build issue, v3.0.3, gcc 4.3, x86_64 (with patch proposal)Warren Young13 May