Re: A very nasty C(++) construct

2003-10-20 Thread Martin Vermeer
On Mon, Oct 20, 2003 at 04:50:31PM +0200, Jean-Marc Lasgouttes spake thusly: > > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> I have STLport-4.5.3. > > So do I. > > Martin> The lib I am linking to is libstlport_gcc.so, which is a > Martin> symlink to libstlport_gcc.

Re: A very nasty C(++) construct

2003-10-20 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> I have STLport-4.5.3. So do I. Martin> The lib I am linking to is libstlport_gcc.so, which is a Martin> symlink to libstlport_gcc.so.4.5, both in subdirectory Martin> STLport-4.5.3/lib. There is also a libstlport_gcc.a. What

Re: A very nasty C(++) construct

2003-10-20 Thread Martin Vermeer
On Mon, Oct 20, 2003 at 03:53:34PM +0200, Jean-Marc Lasgouttes spake thusly: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Yes, nice you noticed too :-) > > Martin> news://news.gmane.org/[EMAIL PROTECTED] > > I remember having seen your message, but I did not

Re: A very nasty C(++) construct

2003-10-20 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Yes, nice you noticed too :-) Martin> news://news.gmane.org/[EMAIL PROTECTED] I remember having seen your message, but I did not see the bug at the time... BTW, could you tell me what is your latest recipe for using st

Re: A very nasty C(++) construct

2003-10-20 Thread Martin Vermeer
On Mon, Oct 20, 2003 at 02:58:42PM +0200, Jean-Marc Lasgouttes spake thusly: > > When compiling text.C I get the following warning: > > ../../lyx-devel/src/text.C: In method `int LyXText::rightMargin (const > Paragraph &, const Buffer &, const Row &) const': > ../../lyx-devel/src/text.C:615: w

Re: A very nasty C(++) construct

2003-10-20 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> | How long do you need to spot the error? Lars> two seconds OK, I have to admit that it did not take me long either. But without the compiler warning (which has been there for nearly 3 months, BTW...) there is not much hope to

Re: A very nasty C(++) construct

2003-10-20 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Oct 20, 2003 at 03:07:10PM +0200, Lars Gullik Bjønnes wrote: >> Hmm... but what has depth to do wiht right margin? delete the last >> three lines... unless you can see obvious bugs already present. >> >> What does CVS Blame say? :-) > | (poenit

Re: A very nasty C(++) construct

2003-10-20 Thread Andre Poenitz
On Mon, Oct 20, 2003 at 03:07:10PM +0200, Lars Gullik Bjønnes wrote: > Hmm... but what has depth to do wiht right margin? delete the last > three lines... unless you can see obvious bugs already present. > > What does CVS Blame say? :-) (poenitz 17-Oct-03): int LyXText::rightMargin(Paragraph co

Re: A very nasty C(++) construct

2003-10-20 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Oct 20, 2003 at 02:58:42PM +0200, Jean-Marc Lasgouttes wrote: >> >> When compiling text.C I get the following warning: >> >> ../../lyx-devel/src/text.C: In method `int LyXText::rightMargin (const >> Paragraph &, const Buffer &, const Row &) co

Re: A very nasty C(++) construct

2003-10-20 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | When compiling text.C I get the following warning: > | ../../lyx-devel/src/text.C: In method `int LyXText::rightMargin (const | Paragraph &, const Buffer &, const Row &) const': | ../../lyx-devel/src/text.C:615: warning: value computed is not use

Re: A very nasty C(++) construct

2003-10-20 Thread Jose' Matos
On Monday 20 October 2003 13:58, Jean-Marc Lasgouttes wrote: > When compiling text.C I get the following warning: [... code ...] > How long do you need to spot the error? Who designed a language > allowing such stupid constructs? Why stupid? Else you should check every return value of non-voi

Re: A very nasty C(++) construct

2003-10-20 Thread Andre Poenitz
On Mon, Oct 20, 2003 at 02:58:42PM +0200, Jean-Marc Lasgouttes wrote: > > When compiling text.C I get the following warning: > > ../../lyx-devel/src/text.C: In method `int LyXText::rightMargin (const > Paragraph &, const Buffer &, const Row &) const': > ../../lyx-devel/src/text.C:615: warning: v