[Dune] dune-grid-howto: compilation error in integration.cc

Christian Engwer christi at uni-hd.de
Tue Mar 30 10:31:16 CEST 2010


On Tue, Mar 30, 2010 at 10:15:26AM +0200, Jö Fahlke wrote:
> Am Tue, 30. Mar 2010, 09:16:43 +0200 schrieb Benedikt Oswald:
> > /Users/oswald/svnwork/dune-trunk/dune-grid/dune/grid/yaspgrid.hh:8:18:
> > error: cstdint: No such file or directory
> 
> I think the problem is the #include <cstdint> instroduced in dune-grid r6545
> by chriti.  I cannot find the header cstdint in the standard, so that commit
> was probably wrong.  Christi, can you please have a look?

OK, I checked... the include was necessary to use the uint8_t. Sadly
this header is only part of C++0x. Can anybody tell me what is the
correct way of using fixed bit-with integral types? Would the stdint.h
header (part of C99) be a viable solution?

Opinions?

Christian




More information about the Dune mailing list