[Dune] [#461] nullptr fails if HAVE_CONFIG_H is not set

Dune dune at dune-project.org
Sat Nov 15 19:03:44 CET 2008


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Christian Engwer (christi) 

Attached to Project - Dune
Summary - nullptr fails if HAVE_CONFIG_H is not set
Task Type - Bug Report
Category - Common
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - when I run 'make clean all check DEFS=""' I get the following error:

g++ -std=c++0x  -I. -I../..  -DFAIL   -g -Wall -MT nullptr_test_fail-nullptr-test.o -MD -MP -MF .deps/nullptr_test_fail-nullptr-test.Tpo -c -o nullptr_test_fail-nullptr-test.o `test -f 'nullptr-test.cc' || echo './'`nullptr-test.cc
nullptr-test.cc: In function ‘void basic_tests()’:
nullptr-test.cc:13: error: cannot convert ‘const nullptr_t’ to ‘int’ in initialization
nullptr-test.cc:22: error: no match for ‘operator==’ in ‘n2 == nullptr’
nullptr-test.cc:23: error: could not convert ‘nullptr’ to ‘bool’
nullptr-test.cc:26: error: no match for ‘operator=’ in ‘nullptr = 0’
.../../dune/common/nullptr.hh:13: note: candidates are: nullptr_t& nullptr_t::operator=(const nullptr_t&)
nullptr-test.cc:27: error: invalid use of template type parameter ‘T’
nullptr-test.cc:13: warning: unused variable ‘n’


More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=461

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the Dune mailing list