fi
if test x$with_warnings = xyes ; then
case $gxx_version in
- 2.95.*) CXXFLAGS="$CXXFLAGS -W -Wall -Wconversion";;
+ 2.95.*) CXXFLAGS="$CXXFLAGS -W -Wall -Wconversion -Winline";;
2.96*) CXXFLAGS="$CXXFLAGS -W -Wall -Wconversion";;
*) CXXFLAGS="$CXXFLAGS -ansi -W -Wall -Wno-return-type";;
esac
using std::string;
],[
string a("hello there");
- a.clear();
+ a.erase();
a = "hey";
+ char s[] = "y";
+ int t = a.compare(a.length() - 1, 1, s);
a.erase();
],[
with_included_string=no