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
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to