Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| In particular, I'd like to make sure that 
|  - it compiles on RedHat Linux 7.0.

This seems to need some more work... since with gcc 2.96 we have to
afaik use the systems std::string and cannot use lyxstring.

int main() {
 
            string a("hello there");
            a.erase();
            a = "hey";
            char s[] = "y";
            int t = a.compare(a.length() - 1, 1, s);
            a.erase();
 
; return 0; }             

This fails to compile because of the lack of std::string::compare def.

[second try with --without-included-string]

Seems to go a lot better... will work ok unless we actually use the
compare somewhere.

I'll report again when I have it compiled.

        Lgb

Reply via email to