#include <stddef.h> missing in btalignedallocator.h

pico
Posts: 229
Joined: Sun Sep 30, 2007 7:58 am

#include <stddef.h> missing in btalignedallocator.h

Post by pico »

Hi Erwin,

size_t is used in btalignedallocator.h without definition.

stddef.h defines: NULL, ptrdiff_t, wchar_t, and size_t.

Normally stddef.h is somewhere included in a project but when compiling bullet just as a library this include is missing.
Could you please include <stddef.h> at top of btalignedallocator.h?

Thanks
Sly
Posts: 16
Joined: Wed Apr 23, 2008 9:57 am

Re: #include <stddef.h> missing in btalignedallocator.h

Post by Sly »

What compiler are you using?
pico
Posts: 229
Joined: Sun Sep 30, 2007 7:58 am

Re: #include <stddef.h> missing in btalignedallocator.h

Post by pico »

A Metrowerks/Freescale product.