On 3 Nov 2000, Lars Gullik Bj�nnes wrote:
> "R. Lahaye" <[EMAIL PROTECTED]> writes:
>
> | support/lstrings.h:74: warning: passing `LyXAlignment' chooses `int' over `long
>unsigned int'
> | support/lstrings.h:74: warning: in call to `ostream::operator <<(int)'
> | support/lstrings.h:74: warning: passing `LyXAlignment' chooses `int' over `long
>int'
> | support/lstrings.h:74: warning: in call to `ostream::operator <<(int)'
> | support/lstrings.h:74: warning: passing `LyXAlignment' chooses `int'
> | over `unsigned int'
>
> It is easy to fix these, but there are some other options here... I'll
> fix it. (or try to since I never get these warnings.)
>
These warnings, which come from writing an enum value to a stream (e.g.
the LyXAlignment and VAlignment in tabular.C:995-6), have been around for
a while. The compiler complains about having to typecast the enum.
I think the reason I'm getting them is using 'configure --with-warnings'
which adds -Wall the the CXXFLAGS. Hopefully, recompiling tabular.C with
-Wall will generate the warnings.
For the record: I use egcs-2.91.66
Lior.