[Dune-devel] [Dune-Commit] dune-istl r1656 - trunk/dune/istl

Andreas Lauser andreas.lauser at iws.uni-stuttgart.de
Wed Jul 18 17:35:32 CEST 2012


Am Mittwoch, 18. Juli 2012, 17:04:40 schrieb Jö Fahlke:
> Am Wed, 18. Jul 2012, 15:52:48 +0200 schrieb Christoph Grüninger:
> > Clang complains about mixing struct and class with a warning. Since
> > Clang 3.0 compiles Dune for me and I think other people are using
> > it, too. Microsoft's Visual-C++ 2008 seems to warn about this issue,
> > too.
> > 
> > I am not that C++-savvy to answer your question. But other people
> > who are tend to see them as interchangeable, see for example [1].
> 
> OK, so this looks like another bogus warning to me.  

Technically, that is correct; but IMHO non-matching forward definitions and 
declarations should be considered as very bad style by every C++ programer 
with at least average skill level.

cheers
  Andreas

-- 
Andreas Lauser
Department of Hydromechanics and Modelling of Hydrosystems
University of Stuttgart
Pfaffenwaldring 61
D-70569 Stuttgart
Phone: (+49) 711 685-64719
Fax: (+49) 711 685-60430
www.hydrosys.uni-stuttgart.de




More information about the Dune-devel mailing list