Re: [pcre-dev] Compile error?

Kezdőlap
Üzenet törlése
Szerző: Craig Silverstein
Dátum:  
Címzett: aj
CC: pcre-dev
Tárgy: Re: [pcre-dev] Compile error?
} pcrecpp.cc:586: no matching function for call to
} `basic_string<char,string_char_traits<char>,__default_alloc_templa
} te<true,0> >::push_back (char)'

What version of gcc are you using? What does g++ --version say?

My guess is you're using gcc2.96, which has an old STL implementation
that maybe doesn't support string::push_back. You can try changing
the push_back() to append() in the code and see if that gets things to
compile.

If you don't need the C++ wrapper, it's probably easier just to do
./configure --disable-cpp
and just build the system that way.

craig