Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Harry Pearce
Does this mean the something is likely to have gone wrong with the installation of libmesh? Harry Pearce On Thu, Aug 4, 2016 at 12:48 PM, Roy Stogner wrote: > > On Thu, 4 Aug 2016, Harry Pearce wrote: > > In regards to LIBMESH_HAVE_CXX11_NULLPTR it says: >> >> #ifndef LIBMESH_HAVE_CXX11_NULLPT

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Harry Pearce
Yes it does have /* #undef HAVE_CXX11_NULLPTR_BUT_DISABLED */ Harry Pearce On Thu, Aug 4, 2016 at 1:56 PM, Roy Stogner wrote: > > On Thu, 4 Aug 2016, Harry Pearce wrote: > > "/* Compiler supports nullptr, but it is disabled in libmesh */" >> > > means that libmesh can't use nullptr since it's

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Roy Stogner
On Thu, 4 Aug 2016, Harry Pearce wrote: > "/* Compiler supports nullptr, but it is disabled in libmesh */" > means that libmesh can't use nullptr since it's disabled in libmesh, > meaning that #define libmesh_nullptr can't be defined nullptr, > because nullptr is disabled? That's referring

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Harry Pearce
Could it be the case that "/* Compiler supports nullptr, but it is disabled in libmesh */" means that libmesh can't use nullptr since it's disabled in libmesh, meaning that #define libmesh_nullptr can't be defined nullptr, because nullptr is disabled? Harry Pearce On Thu, Aug 4, 2016 at 1:42 PM,

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Roy Stogner
On Thu, 4 Aug 2016, Harry Pearce wrote: In regards to  LIBMESH_HAVE_CXX11_NULLPTR it says: #ifndef LIBMESH_HAVE_CXX11_NULLPTR #define LIBMESH_HAVE_CXX11_NULLPTR 1 #endif I'm utterly baffled then. If you include libmesh_nullptr.h (as all our headers do, indirectly!), then it should include l

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Harry Pearce
The libmesh_config.h file has LIBMESH_HAVE_CXX11_NULLPTR but doesn't have LIBMESH_HAVE_CXX11_NULLPTR_WORKAROUND. In regards to LIBMESH_HAVE_CXX11_NULLPTR it says: #ifndef LIBMESH_HAVE_CXX11_NULLPTR #define LIBMESH_HAVE_CXX11_NULLPTR 1 #endif /* Compiler supports nullptr, but it is disabled in

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Roy Stogner
On Thu, 4 Aug 2016, Harry Pearce wrote: > I checked the code of the file I am compiling and it doesn't reference an > libmesh_nullptr variables. I also commented out the #include > "libmesh_nullptr.h" in my file and it didn't change the nature of the > errors at all. The compiler complains about

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread John Peterson
On Thu, Aug 4, 2016 at 12:23 PM, Harry Pearce wrote: > I figured out that only crucial problem for running this program is in the > line #include equation_systems.h, since I commented out the other header > files that were causing trouble and it didn't add any compiling errors. > > equation_sysem

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Harry Pearce
I figured out that only crucial problem for running this program is in the line #include equation_systems.h, since I commented out the other header files that were causing trouble and it didn't add any compiling errors. equation_sysems.h is complaining about nullptr. Now I am thinking that either

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Harry Pearce
Thank you for your response. I checked the code of the file I am compiling and it doesn't reference an libmesh_nullptr variables. I also commented out the #include "libmesh_nullptr.h" in my file and it didn't change the nature of the errors at all. The compiler complains about libmesh_nullptr thr

Re: [Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread John Peterson
On Thu, Aug 4, 2016 at 10:25 AM, Harry Pearce wrote: > Hello libmesh users, > I am trying to compile a modified libmesh example program but I keep > getting the error " 'libmesh_nullptr' was not declared in this scope." > > I am already using the libmesh namespace and obtained my compile command

[Libmesh-users] libmesh problem: libmesh_nullptr was not declared in scope

2016-08-04 Thread Harry Pearce
Hello libmesh users, I am trying to compile a modified libmesh example program but I keep getting the error " 'libmesh_nullptr' was not declared in this scope." I am already using the libmesh namespace and obtained my compile command using: echo `libmesh-config --cxx` -o `libmesh-config --cxxfla