Jens-Heiner Rechtien wrote:
Speaking of STLPort: It seems that these incredible number of ANACHRONISM warnings regarding missing typenames on unxsols4 and unxsoli4 can be fixed with a single line of change in STLPort. I'll suggest that we fix this one in another CWS which has a chance to get in OOo 2.0, if Martin agrees.

Agreed. However, building with wall=1 (i.e., compiling with +w2 on unxsol) results in yet other kinds of spurious warnings from within STLport headers, so what I describe below is necessary as well. (Just to make that clear.)

-Stephan

Heiner

Stephan Bergmann wrote:

As anounced elsewhere, we want to discuss here all C/C++ compiler warnings we stumble over on CWS warnings01 and that we want to disable. Now, I have three issues to discuss:


1 STLport

I already wrote this before, but maybe it did not get the necessary attention. To ensure that all spurious warnings from within any STLport headers are suppressed, the following changes are necessary:

On unxsoli4 and unxsols4 the warnings inllargeuse ("function is too large and will not be expanded inline") and notemsource ("Could not find source for function") are globally disabled in each compilation unit (regardless of whether or not it includes an STLport header), because those warnings seem to only be generated at the end of a compilation unit.

On wntmsci10 the warnings 4514 ("unreferenced inline function has been removed") and 4710 ("function not inlined") are globally disabled in each compilation unit that includes an STLport header, from the point of inclusion onwards, because those warnings seem to only be generated at the end of a compilation unit.
[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to