#792 ConfigParser test doesn't compile
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | May 25, 2010 10:09 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | May 26, 2010 09:38 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | May 26, 2010 09:38 |
Closed in version | Unknown |
Resolution | Fixed |
Comment |
Description
The new test for the ConfigParser doesn't compile (g++ (Debian 4.4.4-1) 4.4.4). The error message is
g++ -std=c++0x -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -MT configparsertest.o -MD -MP -MF .deps/configparsertest.Tpo -c -o configparsertest.o configparsertest.cc In file included from configparsertest.cc:5: ../../../dune/common/configparser.hh: In member function ‘T Dune::ConfigParser::get(const std::string&) [with T = double]’: configparsertest.cc:11: instantiated from here ../../../dune/common/configparser.hh:295: error: incomplete type ‘Dune::ConfigParser::Parser’ used in nested name specifier ../../../dune/common/configparser.hh: In member function ‘T Dune::ConfigParser::get(const std::string&) [with T = int]’: configparsertest.cc:12: instantiated from here ../../../dune/common/configparser.hh:295: error: incomplete type ‘Dune::ConfigParser::Parser’ used in nested name specifier ../../../dune/common/configparser.hh: In member function ‘T Dune::ConfigParser::get(const std::string&) [with T = std::basic_string<char, std::char_traits, std::allocator >]’: configparsertest.cc:13: instantiated from here ../../../dune/common/configparser.hh:295: error: incomplete type ‘Dune::ConfigParser::Parser<std::basic_string<char, std::char_traits, std::allocator > >’ used in nested name specifier make[1]: *** [configparsertest.o] Fehler 1