List:MySQL++« Previous MessageNext Message »
From:Tomalak Geret'kal Date:February 12 2011 7:52pm
Subject:Re: Fix for GCC 4.6
View as plain text  
On 12/02/2011 18:58, Jonathan Wakely wrote:
> On 12 February 2011 17:40, Tomalak Geret'kal wrote:
>>
>> Jonathan,
>>
>> Isn't that what Remi said? I believe his two solutions were to be employed
>> simultaneously, not as an "either/or" set of options. It would certainly
>> make sense.
>
> The patch he attached didn't include<cstddef>

Ah ok. I did not read his patch; only his email.

>> Also, actually, including stddef.h brings the symbols into the `std`
>> namespace *and* the global namespace. See D.5 in 2003.
>
> 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>
}

Tom
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