#1651 parser problem with bigunsignedint
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | May 12, 2015 17:34 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Ansgar Burchardt (burchardt@igpm.rwth-aachen.de) |
Last edited at | May 12, 2015 18:04 |
Closed by | Ansgar Burchardt (burchardt@igpm.rwth-aachen.de) |
Closed at | May 12, 2015 18:04 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | Using "0" instead of "nullptr" made gcc-4.4 (in Debian 7) content. |
Fixed in 6552b897d325f370d5cc201ae15f1318c5e5871c, but still needs to be backported to the 2.4 release branch. |
Description
With g++-4.4 I get the folowing error since http://cgit.dune-project.org/repositories/dune-common/commit/?id=7d2a12f859070e082dd71587d29abb7cb45fc190
In file included from bigunsignedinttest.cc:11: ../../../dune/common/bigunsignedint.hh:56: error: ‘nullptr’ was not declared in this scope bigunsignedinttest.cc: In function ‘int main()’: bigunsignedinttest.cc:52: error: the default argument for parameter 1 of ‘Dune::bigunsignedint::bigunsignedint(Signed, typename std::enable_if<(std::is_integral::value && std::is_signed::value), void>::type*) [with Signed = int, int k = 128]’ has not yet been parsed bigunsignedinttest.cc:55: error: the default argument for parameter 1 of ‘Dune::bigunsignedint::bigunsignedint(Signed, typename std::enable_if<(std::is_integral::value && std::is_signed::value), void>::type*) [with Signed = int, int k = 128]’ has not yet been parsed bigunsignedinttest.cc:88: error: the default argument for parameter 1 of ‘Dune::bigunsignedint::bigunsignedint(Signed, typename std::enable_if<(std::is_integral::value && std::is_signed::value), void>::type*) [with Signed = int, int k = 128]’ has not yet been parsed bigunsignedinttest.cc:88: error: the default argument for parameter 1 of ‘Dune::bigunsignedint::bigunsignedint(Signed, typename std::enable_if<(std::is_integral::value && std::is_signed::value), void>::type*) [with Signed = int, int k = 128]’ has not yet been parsed In file included from bigunsignedinttest.cc:11: