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

Jö Fahlke jorrit at jorrit.de
Tue Mar 30 10:48:22 CEST 2010


Am Tue, 30. Mar 2010, 10:31:16 +0200 schrieb Christian Engwer:
> 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?

#include <stdint.h> sounds good to me.  Does anyone know whether includes of
C-headers should be wrapped in "extern "C" { ... }"?  I know it's not
necessary for the glibc, but other libraries might need it.

Bye,
Jö.

-- 
This message is protected by DoubleROT13 encryption
Attempting to decode it violates the DMCA/WIPO acts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20100330/5266f2e0/attachment.sig>


More information about the Dune mailing list