The correction commited yesterday is not a good solution : we're going to explore why link fails on 64bits
Minor warning correction at compilation (no virtual destructor in DTR::Rule)
This commit is contained in:
parent
9996064f13
commit
66d376fecc
|
@ -1,10 +1,8 @@
|
|||
|
||||
# to work on sl5 64 bits : need to suppress boost_python in Boost_LIBRARIES
|
||||
set(Boost_LIBRARIES "")
|
||||
setup_boost(program_options filesystem regex)
|
||||
|
||||
include_directories ( ${VLSISAPD_SOURCE_DIR}/src/bookshelf/src
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${PYTHON_INCLUDE_PATH}
|
||||
)
|
||||
|
||||
set ( includes vlsisapd/bookshelf/Parser.h
|
||||
|
@ -28,7 +26,7 @@
|
|||
target_link_libraries ( bookshelf ${Boost_LIBRARIES} )
|
||||
set_target_properties ( bookshelf PROPERTIES VERSION 1.0 SOVERSION 1 )
|
||||
add_executable ( bookshelf-tk ${testcpps} )
|
||||
target_link_libraries ( bookshelf-tk bookshelf ${Boost_LIBRARIES} )
|
||||
target_link_libraries ( bookshelf-tk bookshelf ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
|
||||
|
||||
install ( TARGETS bookshelf DESTINATION lib${LIB_SUFFIX} )
|
||||
install ( TARGETS bookshelf-tk DESTINATION bin )
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
|
||||
# to work on sl5 64 bits : need to suppress boost_python in Boost_LIBRARIES
|
||||
set(Boost_LIBRARIES "")
|
||||
setup_boost(program_options filesystem regex)
|
||||
|
||||
include ( ${QT_USE_FILE} )
|
||||
include_directories ( ${VLSISAPD_SOURCE_DIR}/src/configuration/src
|
||||
|
|
|
@ -28,6 +28,8 @@ class Rule {
|
|||
Rule(Name name, double value, Name ref, Name layer1, Name layer2)
|
||||
: _name(name), _type(Name("")), _value(value), _valueStr(to_string(value)), _ref(ref), _layer1(layer1), _layer2(layer2) {};
|
||||
|
||||
virtual ~Rule() {}
|
||||
|
||||
// accessors
|
||||
inline Name getName();
|
||||
inline Name getType();
|
||||
|
@ -57,6 +59,8 @@ class ARule : public Rule {
|
|||
public:
|
||||
ARule(Name name, double value, Name ref, Name layer1, Name layer2)
|
||||
: Rule(name, value, ref, layer1, layer2) {};
|
||||
|
||||
virtual ~ARule() {}
|
||||
};
|
||||
|
||||
inline Name Rule::getName() { return _name; };
|
||||
|
|
Loading…
Reference in New Issue