[Patches] fix simple 64-bit warnings/errors in signalmodule.cand bufferobject.c

Tim Peters tim_one@email.msn.com
Tue, 6 Jun 2000 17:00:38 -0400


[Greg Stein]
> ...
> IMO #2, you should not tell the compiler to ignore certain
> warnings/errors (e.g. using pragmas). That is the worst
> scenario of all.  That hides things even worse than a cast.

Unfortunately, it eventually becomes necessary, as e.g. if you tighten the
warnings you can't include MS's own headers without getting a slew of
warnings.  In C++ it's much worse, as you start getting "warnings" about
stuff like functions not getting inlined, or constant expressions in
template expansions (often the whole *point* of a template class is to get
constant expressions abstracted away!).  Etc.  But, in general, I heartily
agree.