List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:February 19 2011 12:23am
Subject:Re: Fix for GCC 4.6
View as plain text  
On Feb 11, 2011, at 11:38 AM, Jonathan Wakely wrote:

> std::size_t is defined by <cstddef>, so the correct fix if you want to
> use size_t is to explicitly include either <stddef.h> (for ::size_t)
> or <cstddef> (for std::size_t)

I've been holding off on making a change partly to see if this thread produced anything
concrete beyond language lawyerism. :)

Since it seems to be left to me to decide, I've gone with <stddef.h>  I have no
better reason for it than having been burned by using the C++ replacements in too-old
compilers which MySQL++ still nevertheless still supports.

Does this work for you, Remi?
Thread
Fix for GCC 4.6Remi Collet11 Feb
  • Re: Fix for GCC 4.6Jonathan Wakely11 Feb
    • Re: Fix for GCC 4.6Jonathan Wakely11 Feb
    • Re: Fix for GCC 4.6Tomalak Geret'kal12 Feb
      • Re: Fix for GCC 4.6Jonathan Wakely12 Feb
        • Re: Fix for GCC 4.6Tomalak Geret'kal12 Feb
          • Re: Fix for GCC 4.6Mickael Wolff14 Feb
            • Re: Fix for GCC 4.6Tomalak Geret'kal14 Feb
    • Re: Fix for GCC 4.6Warren Young19 Feb