[Dune] [Dune-Commit] dune-common r6255 - trunk/dune/common
Christian Engwer
christi at uni-hd.de
Sun Nov 28 18:12:05 CET 2010
> > /** \brief Make a pyramid */
> > - void makePyramid() {basicType_ = pyramid; dim_ = 3;}
> > + void makePyramid() {
> > + none_ = false;
> > + dim_ = 3;
> > + topologyId_ = 0b0011;
>
> Binary literals are a gcc-extension; they are neither in C99, nor C++ 2003,
> nor C++0x. They fail for instance with g++-4.1. I have no idea how likely
> they are to work with non-gcc compilers.
f***... so we have to get the back to the unreadable binary shifting
or hex-literals
:-(
Christian
More information about the Dune
mailing list