Skip to content

#391 common/helpertemplates.hh gives "unused variable" warnings

Metadata

Property Value
Reported by Jö Fahlke (jorrit@jorrit.de)
Reported at May 6, 2008 12:00
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Andreas Dedner (A.S.Dedner@warwick.ac.uk)
Last edited at Dec 15, 2009 16:00
Closed by Andreas Dedner (A.S.Dedner@warwick.ac.uk)
Closed at Dec 15, 2009 16:00
Closed in version Unknown
Resolution Fixed
Comment is deprecated

Description

For example in Derived_from

/home/joe/src/dune/dune-common/dune/common/helpertemplates.hh:21: warning: unused variable ‘p’ /home/joe/src/dune/dune-common/dune/common/helpertemplates.hh:20: warning: unused variable ‘pb’

Of course, these variables are not really meant to be used. Is there a way to suppress these warnings, at least for g++?