vbs-1.4.0 with patch vbs_1.4.12.diff.gz not compiling

Bug #350860 reported by Ricardo Erckert
2
Affects Status Importance Assigned to Milestone
vbs (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: vbs

patch vbs_1.4.0-12.diff did not include all the header files needed on SUSE 11.1 using gcc 4.3.
Assume similar problems can be found in other distributions too.
Had to add the line "#include <string.h>" to patched vbs-1.4.0/src/common/bvector.h.
 "#include <string>" did not work.
Compilation worked but gave some warnings like " warning: deprecated conversion from string constant to ‘char* "

source: vbs-1.4.0
patch vbs_1.4.0-12.diff.gz
compiler gcc 4.3
expected: patched package should compile
what happened:
g++ -DHAVE_CONFIG_H -Isrc -I. -g -O2 -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c src/swig/vbs_api.cc
In file included from src/common/st_node.h:16,
                 from src/common/sym_tab.h:26,
                from src/swig/vbs_api.cc:21:
src/common/bvector.h: In member function 'bit_vector::sub_bit_vector& bit_vector::sub_bit_vector::operator=(const bit_vector::sub_bit_vector&)':
src/common/bvector.h:339: error: 'memset' was not declared in this scope ....

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.