Re: Compiling lyxstring.C with cxx -std strict_ansi

1999-10-20 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> | cxx: Error: ../../../lyx-devel/src/support/lyxstring.h, line | Lars> 539: | class "lyxstring::Srep" is inaccessible | return new | Lars> Srep(sz, s); | | Lars> This one

Re: Compiling lyxstring.C with cxx -std strict_ansi

1999-10-20 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> | cxx: Error: ../../../lyx-devel/src/support/lyxstring.h, line Lars> 539: | class "lyxstring::Srep" is inaccessible | return new Lars> Srep(sz, s); Lars> This one I am not sure about, could you try with return new Lars> lyxstr

Re: Compiling lyxstring.C with cxx -std strict_ansi

1999-10-19 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | cxx: Warning: ../../../lyx-devel/src/support/lyxstring.h, line 101: type | qualifiers are meaningless in this declaration | typedef const reference const_reference; Ok, I try with typedef value_type const & const_reference ins

Compiling lyxstring.C with cxx -std strict_ansi

1999-10-18 Thread Jean-Marc Lasgouttes
I get the following errors/warnings when compiling lyxstring.C with cxx. Most of them (except for the incomplete type stuff) are a bit problematic to me. Anyone cares to enlighten me? mycxx -std strict_ansi -DHAVE_CONFIG_H -I. -I../../../lyx-devel/src/support -I../../src -I../../../lyx-devel/sr