Skip to content

#667 File dune/grid/io/file/dgfparser/dgfprojectionblock.cc broken in GCC 4.4

Metadata

Property Value
Reported by Bård Skaflestad (bard.skaflestad@sintef.no)
Reported at Nov 24, 2009 10:12
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Linux 64bit
Last edited by Martin Nolte (nolte@mathematik.uni-freiburg.de)
Last edited at Nov 24, 2009 12:09
Closed by Martin Nolte (nolte@mathematik.uni-freiburg.de)
Closed at Nov 24, 2009 12:09
Closed in version Unknown
Resolution Fixed
Comment now conforming to standard

Description

The file dune-grid/dune/grid/io/file/dgfparser/dgfprojectionblock.cc references the "stdio" symbol 'EOF', but fails to #include (or <stdio.h>).

With GCC 4.4 under somewhat strict settings (-Wall -Wextra) this eventually leads to a build error. The attached patch fixes the build issue on my system by #including

Bård Skaflestad

Attachments