Bonjour,
Je ne parviens pas ŕ faire un build des exécutables sous
gcc version 3.3.2 (Debian) et GNU Make 3.80.
Voici la trace du 'make all'.
Pouvez-vous m'aider ?
D'avance merci.
cd src; make all
make[1]: Entering directory
`/home/devis/c++/ASTL/astl.beta.2.0/src'
g++ -I../include -fno-rtti -fno-exceptions -pipe -Wall -
g -c ahocorasick.cc -o ahocorasick.o
In file included from ../include/astl.h:50,
from ahocorasick.cc:1:
../include/alphabet.h: In static member function `static
char
french::to_char_type(char)':
../include/alphabet.h:145: warning: array subscript has
type `char'
../include/alphabet.h: In static member function `static
char
french::to_int_type(char)':
../include/alphabet.h:148: warning: array subscript has
type `char'
g++ -I../include -fno-rtti -fno-exceptions -pipe -Wall -g
ahocorasick.o -o ../bin/ahocorasick
g++ -I../include -fno-rtti -fno-exceptions -pipe -Wall -
g -c build.cc -o build.o
In file included from ../include/astl.h:50,
from build.cc:1:
../include/alphabet.h: In static member function `static
char
french::to_char_type(char)':
../include/alphabet.h:145: warning: array subscript has
type `char'
../include/alphabet.h: In static member function `static
char
french::to_int_type(char)':
../include/alphabet.h:148: warning: array subscript has
type `char'
../include/dfa_map.h: At global scope:
../include/dfa_map.h: In instantiation of
`DFA_map<range<char, '\37777777600', '\177'>,
empty_tag>::edges_type':
../include/cursor.h:154: instantiated from
`transition_cursor<DFA_map<range<char, '\37777777600'
, '\177'>, empty_tag> >'
../include/cursor.h:309: instantiated from
`forward_cursor<DFA_map<range<char, '\37777777600', '
\177'>, empty_tag> >'
../include/cursor.h:309: instantiated from
`stack_cursor<forward_cursor<DFA_map<range<char, '\3
7777777600', '\177'>,
empty_tag> >,
std::vector<forward_cursor<DFA_map<range<char, '\377
77777600', '\177'>, empty_tag> >,
std::allocator<forward_cursor<DFA_map<range<char, '\3
7777777600', '\177'>, empty_tag> > > > >'
../include/cursor.h:414: instantiated from
`dfirst_cursor<stack_cursor<forward_cursor<DFA_map<ra
nge<char, '\37777777600',
'\177'>, empty_tag> >,
std::vector<forward_cursor<DFA_map<range<char, '\377
77777600', '\177'>, empty_tag> >,
std::allocator<forward_cursor<DFA_map<range<char, '\3
7777777600', '\177'>, empty_tag> > > > >,
set_marker<unsigned int,
std::less<unsigned int> > >'
build.cc:21: instantiated from `void run(DFA&, bool,
bool) [with DFA =
DFA_map<range<char, '\37777777600', '\177'>,
empty_tag>]'
build.cc:36: instantiated from here
../include/dfa_map.h:79: error: no type named
`data_type' in `class
std::map<char, unsigned int,
dfa_map_key_compare<range<char, '\37777777600',
'\177'> >, std::allocator<std::pair<const char,
unsigned int> > >'
make[1]: *** [build.o] Error 1
make[1]: Leaving directory
`/home/devis/c++/ASTL/astl.beta.2.0/src'
make: *** [all] Error 2