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