<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I would like to look for a little help about my first code with dune, il contains one line in main(): cout<<“hello”<<endl;</div><div class="">I got the following error when including "dune/common/nullptr.hh”:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">/usr/local/dune-2.4.1/include/dune/common/nullptr.hh:29:1: error: expected ';' after class definition</div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class=""> } nullptr = {};              // and whose name is nullptr</div></div><div class=""><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">/usr/local/dune-2.4.1/include/dune/common/nullptr.hh:29:1: error: qualifiers can only be specified for objects and functions</div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">/usr/local/dune-2.4.1/include/dune/common/nullptr.hh:29:3: error: expected unqualified-id before 'nullptr'</div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class=""> } nullptr = {};              // and whose name is nullptr</div></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class=""><br class=""></div><div class=""><br class=""></div><div class="">Il seems that it’s from const obj dune_nullptr_t in nullptr.hh. I use GCC4.9 (or GCC5.3) with std=c++11 in mac. Dune version is 2.4.1.</div><div class=""><br class=""></div><div class="">Thank you very much.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class="">Feng Xing</div><div class="">Postdoc INRIA France</div></body></html>