[Dune] Failure in nullptr.hh
Dominic Kempf
dominic.r.kempf at gmail.com
Tue Nov 3 23:18:17 CET 2015
Hey Justus and welcome to the list,
in the past this error mesage came up, when people forgot to include
"config.h" at the top of their source code.
See here: https://gitlab.dune-project.org/flyspray/FS/issues/1655
The error message is bad, we all agree, but all sorts of weird things
happen with config.h not around.
If the example from the grid-howto is missing config.h please publicly
shame it and we will fix it.
Best,
Dominic
On Tue, Nov 3, 2015 at 11:11 PM, Schock, Justus <
justus.schock at rwth-aachen.de> wrote:
> Dear Duners,
> While trying to compile the first example, mentioned in the grid-how-to, i
> got the following problem:
>
> /usr/local/include/dune/common/nullptr.hh:29:1: error: expected ‘;’ after
> class definition
> } nullptr = {}; // and whose name is nullptr
> ^
> /usr/local/include/dune/common/nullptr.hh:29:1: error: qualifiers can only
> be specified for objects and functions
> /usr/local/include/dune/common/nullptr.hh:29:3: error: expected
> unqualified-id before ‘nullptr’
> } nullptr = {}; // and whose name is nullptr
> ^
>
>
> Actually I don't know, whether it's my compiler's fault or if it's a bug.
> I would be very grateful, if you would have any ideas what to do.
>
> Greetings,
> Justus
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20151103/b180aa65/attachment.htm>
More information about the Dune
mailing list