List:MySQL++« Previous MessageNext Message »
From:Mickael Wolff Date:February 14 2011 1:59pm
Subject:Re: Fix for GCC 4.6
View as plain text  
On 12/02/11 19:52, Tomalak Geret'kal wrote:
>> According to the standard, yes. But not according to reality: many
>> compilers, g++ included, do not control the C library headers so
>> <stddef.h> does not declare names in namespace std.
>
> namespace std {
> #incude <stddef.h>
> }

   This introduces a big issue if you try to use <cstddef> and 
<stddef.h> because of the headers safeguards. size_t should not be 
longer available in global namespace when including the legacy header.
   Have a look at the actual content of cstddef file :)

-- 
Mickaël Wolff aka Lupus Michaelis
Racine <http://lupusmic.org>
Blog   <http://blog.lupusmic.org>
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