Menu

#4 Build failure with g++ 4.8.2 20130926 (prerelease)

v1.0 (example)
closed-fixed
nobody
None
5
2014-08-19
2013-10-05
No

When building xstow 1.0.0 with g++ 4.8.2 20130926 (prerelease), I get this error:

g++ -DHAVE_CONFIG_H -I.. -I/mn/anatu/cma-u3/tmac/usr/include -g -O2 -DNDEBUG -DSYSCONFDIR='"/mn/anatu/cma-u3/tmac/usr/stow/xstow/etc"' -MT arg.o -MD -MP -MF .deps/arg.Tpo -c -o arg.o arg.cpp
In file included from arg.h:21:0,
from arg.cpp:7:
ref.h: In instantiation of ‘class Ref<arg::rule>’:
arg.h:168:27: required from here
ref.h:208:3: error: cannot allocate an object of abstract type ‘Arg::Rule’
operator V() const { return (address()); }
^
In file included from arg.cpp:7:0:
arg.h:26:9: note: because the following virtual functions are pure within ‘Arg::Rule’:
class Rule
^
arg.h:40:20: note: virtual bool Arg::Rule::match(const string&) const
virtual bool match( const std::string &value ) const = 0;
^
In file included from arg.h:21:0,
from arg.cpp:7:
ref.h:211:3: error: cannot allocate an object of abstract type ‘Arg::Rule’
operator V() { return
(address()); }
^
In file included from arg.cpp:7:0:
arg.h:26:9: note: since type ‘Arg::Rule’ has pure virtual functions
class Rule
^
make[2]: *** [arg.o] Error 1</arg::rule>

Discussion

  • King Leo (Martin Oberzalek)

    • status: open --> closed-fixed
     
  • King Leo (Martin Oberzalek)

    Fixed in Version 1.0.1

     

Log in to post a comment.

MongoDB Logo MongoDB