On Tue, Nov 1, 2011 at 1:20 PM, David Knezevic
<[email protected]> wrote:
> I just svn up'd and ./configure'd and I'm getting the compilation error:
>
> Compiling C++ (in debug mode) src/base/dof_map.C...
> In file included from
> /home/dknez/software/libmesh/include/base/dof_map.h:39:0,
> from src/base/dof_map.C:30:
> /home/dknez/software/libmesh/include/parallel/threads_allocators.h:103:13:
> error: ‘ptrdiff_t’ does not name a type
> make: *** [src/base/dof_map.x86_64-unknown-linux-gnu.dbg.o] Error 1
>
> Seems like a strange thing for the compiler to complain about, no? I'm
> using gcc 4.6.1:
> gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1

We use that in include/parallel/threads_allocators.h

Maybe we should #include "stddef.h" or #include <cstddef> in that file?

-- 
John

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to