g++ -c -I/usr/local/dune/include/ dune_dg.cc In file included from /usr/local/dune/include/dune/grid/sgrid.hh:8:0, from dune_dg.cc:9: /usr/local/dune/include/dune/common/fvector.hh:20:2: warning: #warning The FieldVector class exports its size by the enum member 'size'. This behavior is deprecated. In the future, 'size' will be a method, which puts it in compliance with the stl conventions. To enable the new behavior (and get rid of this warning), build your Dune with --enable-fieldvector-size-is-method. If you do need the vector size as an enum, use 'dimension'. [-Wcpp] #warning The FieldVector class exports its size by the enum member 'size'. \ ^ In file included from /usr/local/dune/include/dune/fem/space/common/allgeomtypes.hh:42:0, from /usr/local/dune/include/dune/fem/space/common/discretefunctionspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/common/allgeomtypes.hh:43:0, from /usr/local/dune/include/dune/fem/space/common/discretefunctionspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionfactory.hh:36:0, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionsets.hh:37, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:47, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionsetinterface.hh:39:0, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionsets.hh:38, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:47, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/basefunctions/storageinterface.hh:44:0, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionstorage.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/basefunctions/storageinterface.hh:45:0, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionstorage.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:8:2: warning: #warning NOTE: was never part of a release, [-Wcpp] #warning NOTE: was never part of a release, ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:9:2: warning: #warning so this compatibility mechanism should be removed before the 2.2 [-Wcpp] #warning so this compatibility mechanism should be removed before the 2.2 ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:10:2: warning: #warning release. [-Wcpp] #warning release. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/quadratureimp.hh:39:0, from /usr/local/dune/include/dune/fem/quadrature/quadprovider.hh:34, from /usr/local/dune/include/dune/fem/quadrature/quadrature.hh:43, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionstorage.hh:44, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/femquadratures.hh:37:0, from /usr/local/dune/include/dune/fem/quadrature/defaultquadratures.hh:51, from /usr/local/dune/include/dune/fem/quadrature/quadrature.hh:44, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionstorage.hh:44, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/femquadratures.hh:38:0, from /usr/local/dune/include/dune/fem/quadrature/defaultquadratures.hh:51, from /usr/local/dune/include/dune/fem/quadrature/quadrature.hh:44, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionstorage.hh:44, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/caching/pointprovider.cc:34:0, from /usr/local/dune/include/dune/fem/quadrature/caching/pointprovider.hh:133, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionstorage.cc:30, from /usr/local/dune/include/dune/fem/space/basefunctions/basefunctionstorage.hh:545, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:48, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/mapper/codimensionmapper.hh:36:0, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:51, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/lagrangespace/genericgeometry.hh:37:0, from /usr/local/dune/include/dune/fem/space/lagrangespace/genericlagrangepoints.hh:40, from /usr/local/dune/include/dune/fem/space/lagrangespace/genericbasefunctions.hh:41, from /usr/local/dune/include/dune/fem/space/lagrangespace/basefunctions.hh:33, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:57, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/lagrangespace/basefunctions_inline.hh:37:0, from /usr/local/dune/include/dune/fem/space/lagrangespace/basefunctions.hh:138, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:57, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/elementpointlistbase.hh:36:0, from /usr/local/dune/include/dune/fem/quadrature/elementpointlist.hh:33, from /usr/local/dune/include/dune/fem/quadrature/cachingpointlist.hh:37, from /usr/local/dune/include/dune/fem/space/lagrangespace/lagrangepoints.hh:35, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:58, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/caching/twistutility.hh:41:0, from /usr/local/dune/include/dune/fem/quadrature/elementpointlist.hh:34, from /usr/local/dune/include/dune/fem/quadrature/cachingpointlist.hh:37, from /usr/local/dune/include/dune/fem/space/lagrangespace/lagrangepoints.hh:35, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:58, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/caching/twistutility.hh:42:0, from /usr/local/dune/include/dune/fem/quadrature/elementpointlist.hh:34, from /usr/local/dune/include/dune/fem/quadrature/cachingpointlist.hh:37, from /usr/local/dune/include/dune/fem/space/lagrangespace/lagrangepoints.hh:35, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:58, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/genericgeometry/topologytypes.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/quadrature/caching/twistprovider.hh:43:0, from /usr/local/dune/include/dune/fem/quadrature/caching/cacheprovider.hh:45, from /usr/local/dune/include/dune/fem/quadrature/cachingpointlist.hh:40, from /usr/local/dune/include/dune/fem/space/lagrangespace/lagrangepoints.hh:35, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:58, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/common/basesetlocalkeystorage.hh:38:0, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:59, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/common/basesetlocalkeystorage.hh:39:0, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:59, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:8:2: warning: #warning NOTE: was never part of a release, [-Wcpp] #warning NOTE: was never part of a release, ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:9:2: warning: #warning so this compatibility mechanism should be removed before the 2.2 [-Wcpp] #warning so this compatibility mechanism should be removed before the 2.2 ^ /usr/local/dune/include/dune/geometry/geometrytypeindex.hh:10:2: warning: #warning release. [-Wcpp] #warning release. ^ In file included from /usr/local/dune/include/dune/fem/operator/1order/localmassmatrix.hh:39:0, from /usr/local/dune/include/dune/fem/space/dgspace/localdgmassmatrix.hh:33, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:647, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytypeindex.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytypeindex.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytypeindex.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ /usr/local/dune/include/dune/common/geometrytypeindex.hh:8:2: warning: #warning NOTE: was never part of a release, [-Wcpp] #warning NOTE: was never part of a release, ^ /usr/local/dune/include/dune/common/geometrytypeindex.hh:9:2: warning: #warning so this compatibility mechanism should be removed before the 2.2 [-Wcpp] #warning so this compatibility mechanism should be removed before the 2.2 ^ /usr/local/dune/include/dune/common/geometrytypeindex.hh:10:2: warning: #warning release. [-Wcpp] #warning release. ^ In file included from /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:38:0, from /usr/local/dune/include/dune/fem/function/common/discretefunction.hh:906, from /usr/local/dune/include/dune/fem/space/common/loadbalancer.hh:44, from /usr/local/dune/include/dune/fem/space/common/adaptmanager.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace/localrestrictprolong.hh:35, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:648, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/lagrangespace/restrictprolong.hh:39:0, from /usr/local/dune/include/dune/fem/space/lagrangespace/adaptmanager.hh:35, from /usr/local/dune/include/dune/fem/space/lagrangespace/lagrangespace.hh:508, from /usr/local/dune/include/dune/fem/space/lagrangespace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:7, from dune_dg.cc:22: /usr/local/dune/include/dune/common/geometrytype.hh:5:2: warning: #warning #include is deprecated. Use [-Wcpp] #warning #include is deprecated. Use ^ /usr/local/dune/include/dune/common/geometrytype.hh:6:2: warning: #warning #include instead. You may need the new [-Wcpp] #warning #include instead. You may need the new ^ /usr/local/dune/include/dune/common/geometrytype.hh:7:2: warning: #warning Dune-Geometry core module. [-Wcpp] #warning Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/space/lagrangespace/restrictprolong.hh:40:0, from /usr/local/dune/include/dune/fem/space/lagrangespace/adaptmanager.hh:35, from /usr/local/dune/include/dune/fem/space/lagrangespace/lagrangespace.hh:508, from /usr/local/dune/include/dune/fem/space/lagrangespace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:7, from dune_dg.cc:22: /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:1:2: warning: #warning #include is deprecated. [-Wcpp] #warning #include is deprecated. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:2:2: warning: #warning Use #include instead. [-Wcpp] #warning Use #include instead. ^ /usr/local/dune/include/dune/grid/common/genericreferenceelements.hh:3:2: warning: #warning You may need the new Dune-Geometry core module. [-Wcpp] #warning You may need the new Dune-Geometry core module. ^ In file included from /usr/local/dune/include/dune/fem/misc/utility.hh:35:0, from /usr/local/dune/include/dune/fem/space/common/commoperations.hh:33, from /usr/local/dune/include/dune/fem/space/common/discretefunctionspace.hh:39, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/fem/misc/femtuples.hh:906:24: error: redefinition of 'template std::istream& Dune::operator>>(std::istream&, Dune::Pair&)' inline std::istream& operator>>(std::istream& os, Pair& pair) ^ In file included from /usr/local/dune/include/dune/common/tupleutility.hh:12:0, from /usr/local/dune/include/dune/geometry/genericgeometry/codimtable.hh:8, from /usr/local/dune/include/dune/geometry/genericgeometry/subtopologies.hh:12, from /usr/local/dune/include/dune/geometry/referenceelements.hh:9, from /usr/local/dune/include/dune/grid/common/geometry.hh:14, from /usr/local/dune/include/dune/grid/common/grid.hh:1321, from /usr/local/dune/include/dune/grid/sgrid.hh:15, from dune_dg.cc:9: /usr/local/dune/include/dune/common/tuples.hh:947:24: error: 'template std::istream& Dune::operator>>(std::istream&, Dune::Pair&)' previously declared here inline std::istream& operator>>(std::istream& is, Pair& pair) ^ In file included from /usr/local/dune/include/dune/fem/misc/utility.hh:35:0, from /usr/local/dune/include/dune/fem/space/common/commoperations.hh:33, from /usr/local/dune/include/dune/fem/space/common/discretefunctionspace.hh:39, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/fem/misc/femtuples.hh:913:24: error: redefinition of 'template std::istream& Dune::operator>>(std::istream&, Dune::Pair&)' inline std::istream& operator>>(std::istream& os, Pair& pair) ^ In file included from /usr/local/dune/include/dune/common/tupleutility.hh:12:0, from /usr/local/dune/include/dune/geometry/genericgeometry/codimtable.hh:8, from /usr/local/dune/include/dune/geometry/genericgeometry/subtopologies.hh:12, from /usr/local/dune/include/dune/geometry/referenceelements.hh:9, from /usr/local/dune/include/dune/grid/common/geometry.hh:14, from /usr/local/dune/include/dune/grid/common/grid.hh:1321, from /usr/local/dune/include/dune/grid/sgrid.hh:15, from dune_dg.cc:9: /usr/local/dune/include/dune/common/tuples.hh:953:24: error: 'template std::istream& Dune::operator>>(std::istream&, Dune::Pair&)' previously declared here inline std::istream& operator>>(std::istream& is, Pair& pair) ^ In file included from /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:41:0, from /usr/local/dune/include/dune/fem/space/common/discretefunctionspace.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/fem/space/common/dofmanager.hh: In member function 'bool Dune::Fem::DofManager::writeIndexSets(const string&, int)': /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:1466:51: error: 'DUNE_FEM_VERSION_MAJOR' was not declared in this scope unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/common/version.hh:109:20: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:20: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:1466:28: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:1466:51: error: 'DUNE_FEM_VERSION_MINOR' was not declared in this scope unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/common/version.hh:109:36: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:53: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:1466:28: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:1466:51: error: 'DUNE_FEM_VERSION_REVISION' was not declared in this scope unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/common/version.hh:109:51: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:86: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:1466:28: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh: In member function 'void Dune::Fem::DiscreteFunctionDefault::read(Dune::Fem::InStreamInterface&)': /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:327:49: error: 'DUNE_FEM_VERSION_MAJOR' was not declared in this scope else if( versionId > DUNE_MODULE_VERSION_ID(DUNE_FEM) ) ^ /usr/local/dune/include/dune/common/version.hh:109:20: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:20: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:327:26: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' else if( versionId > DUNE_MODULE_VERSION_ID(DUNE_FEM) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:327:49: error: 'DUNE_FEM_VERSION_MINOR' was not declared in this scope else if( versionId > DUNE_MODULE_VERSION_ID(DUNE_FEM) ) ^ /usr/local/dune/include/dune/common/version.hh:109:36: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:53: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:327:26: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' else if( versionId > DUNE_MODULE_VERSION_ID(DUNE_FEM) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:327:49: error: 'DUNE_FEM_VERSION_REVISION' was not declared in this scope else if( versionId > DUNE_MODULE_VERSION_ID(DUNE_FEM) ) ^ /usr/local/dune/include/dune/common/version.hh:109:51: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:86: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:327:26: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' else if( versionId > DUNE_MODULE_VERSION_ID(DUNE_FEM) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh: In member function 'void Dune::Fem::DiscreteFunctionDefault::write(Dune::Fem::OutStreamInterface&) const': /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:357:53: error: 'DUNE_FEM_VERSION_MAJOR' was not declared in this scope unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/common/version.hh:109:20: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:20: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:357:30: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:357:53: error: 'DUNE_FEM_VERSION_MINOR' was not declared in this scope unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/common/version.hh:109:36: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:53: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:357:30: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:357:53: error: 'DUNE_FEM_VERSION_REVISION' was not declared in this scope unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ /usr/local/dune/include/dune/common/version.hh:109:51: note: in definition of macro 'DUNE_VERSION_ID' ((unsigned int)((major << 24) + (minor << 16) + revision)) ^ /usr/local/dune/include/dune/common/version.hh:125:86: note: in expansion of macro 'DUNE_VERSION_JOIN' DUNE_VERSION_ID( DUNE_VERSION_JOIN(module,MAJOR), DUNE_VERSION_JOIN(module,MINOR), DUNE_VERSION_JOIN(module,REVISION) ) ^ /usr/local/dune/include/dune/fem/function/common/discretefunction_inline.hh:357:30: note: in expansion of macro 'DUNE_MODULE_VERSION_ID' unsigned int versionId = DUNE_MODULE_VERSION_ID(DUNE_FEM); ^ In file included from dune_dg.cc:22:0: dune/dg/dgspace/dgspaceinterface.hh: In constructor 'DGFESpace::DGFESpace(Grid&, typename CLaw::u0Type)': dune/dg/dgspace/dgspaceinterface.hh:42:59: warning: delegating constructors only available with -std=c++11 or -std=gnu++11 [enabled by default] DGFESpace(Grid& g, typename CLaw::u0Type u0):DGFESpace(g) ^ In file included from /usr/local/dune/include/dune/fem/space/common/discretefunctionspace.hh:43:0, from /usr/local/dune/include/dune/fem/space/dgspace/dgspace.hh:43, from /usr/local/dune/include/dune/fem/space/dgspace.hh:30, from dune/dg/dgspace/dgspaceinterface.hh:5, from dune_dg.cc:22: /usr/local/dune/include/dune/fem/space/common/dofmanager.hh: In instantiation of 'class Dune::Fem::DofManager >': /usr/local/dune/include/dune/fem/space/common/discretefunctionspace.hh:683:64: required from 'Dune::Fem::DiscreteFunctionSpaceDefault::DiscreteFunctionSpaceDefault(Dune::Fem::DiscreteFunctionSpaceDefault::GridPartType&, Dune::InterfaceType, Dune::CommunicationDirection) [with FunctionSpaceTraits = Dune::Fem::LagrangeDiscreteFunctionSpaceTraits, Dune::Fem::AdaptiveLeafGridPart, (Dune::PartitionIteratorType)4u, false>, 2u, Dune::Fem::CachingStorage>; Dune::Fem::DiscreteFunctionSpaceDefault::GridPartType = Dune::Fem::AdaptiveLeafGridPart, (Dune::PartitionIteratorType)4u, false>]' /usr/local/dune/include/dune/fem/space/lagrangespace/lagrangespace.hh:348:23: required from 'Dune::Fem::LagrangeDiscreteFunctionSpace::LagrangeDiscreteFunctionSpace(Dune::Fem::LagrangeDiscreteFunctionSpace::GridPartType&, Dune::InterfaceType, Dune::CommunicationDirection) [with FunctionSpace = Dune::Fem::FunctionSpace; GridPart = Dune::Fem::AdaptiveLeafGridPart, (Dune::PartitionIteratorType)4u, false>; int polOrder = 2; Storage = Dune::Fem::CachingStorage; Dune::Fem::LagrangeDiscreteFunctionSpace::GridPartType = Dune::Fem::AdaptiveLeafGridPart, (Dune::PartitionIteratorType)4u, false>]' dune/dg/dgspace/dgspaceinterface.hh:41:61: required from 'DGFESpace::DGFESpace(Grid&) [with CLaw = CLawLinear<1>; Grid = Dune::SGrid<1, 1, double>; int GDim = 1; int UDim = 1; int PDim = 2]' dune/dg/dgspace/dgspaceinterface.hh:42:59: required from 'DGFESpace::DGFESpace(Grid&, typename CLaw::u0Type) [with CLaw = CLawLinear<1>; Grid = Dune::SGrid<1, 1, double>; int GDim = 1; int UDim = 1; int PDim = 2; typename CLaw::u0Type = blitz::TinyVector (*)(const Dune::FieldVector&, const Dune::FieldVector&)]' dune_dg.cc:48:26: required from here /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:821:52: error: no type named 'ObjectStreamType' in 'struct Dune::GridObjectStreamOrDefault, Dune::Fem::DummyObjectStream>' GridType, DummyObjectStream>::ObjectStreamType InlineStreamType; ^ /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:826:65: error: no type named 'ObjectStreamType' in 'struct Dune::GridObjectStreamOrDefault, Dune::Fem::DummyObjectStream>' typedef DataCollectorInterface DataXtractorType; ^ /usr/local/dune/include/dune/fem/space/common/dofmanager.hh:827:65: error: no type named 'ObjectStreamType' in 'struct Dune::GridObjectStreamOrDefault, Dune::Fem::DummyObjectStream>' typedef DataCollectorInterface DataInlinerType; ^ make: *** [dune_dg] Error 1