Do you want me to revert actual revert it in libmesh/master or just revert it for myself for now?

Derek


On Sat, Mar 30, 2013 at 3:15 PM, Roy Stogner <roystgnr@ices.utexas.edu> wrote:

On Sat, 30 Mar 2013, Derek Gaston wrote:

Just updated and I'm now seeing this:
  CXX      src/base/libmesh_oprof_la-dof_map_constraints.lo
In file included from src/base/dof_map_constraints.C:48:0:
./include/libmesh/system.h:1186:45: error: default template arguments may not be used in function templates without -std=c++11 or
-std=gnu++11
./include/libmesh/system.h:1195:64: error: default template arguments may not be used in function templates without -std=c++11 or
-std=gnu++11
./include/libmesh/system.h:1204:38: error: default template arguments may not be used in function templates without -std=c++11 or
-std=gnu++11
./include/libmesh/system.h:1607:44: error: default template arguments may not be used in function templates without -std=c++11 or
-std=gnu++11

Any ideas?

Looks like my backwards-compatibility fix for Manav's Real->Number
input patch only works with C++11.  Not sure why it was working in my
tests - I was likewise using a C++11-capable version of gcc without
using -std=anything.  The workaround is to do what Ben suggested:
give the templated versions of these methods new names and have the
old name just be a call to the Number version.

I can try to fix this tomorrow, but I'm not sure how easy the fix is
going to be when I can't replicate the problem.  Unless you want to
code up the fix yourself, in the meantime you could just revert that
subpatch of Manav's changes as a workaround.
---
Roy