Apache OpenOffice (AOO) Bugzilla – Issue 69281
Make chart2 warning-free on Windows and Linux
Last modified: 2013-02-24 21:22:04 UTC
Please make module chart2 warning-free, see <http://wiki.services.openoffice.org/wiki/Writing_warning-free_code>. This issue probably depends on the integration of <http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=4120&Path=SRC680%2Fsb59> (as then the headers delivered from all the modules roughly up to svx should be warning-free). It is intended to fix this issue latest in the OOo version following OOo 2.1, so that the complete OOo C/C++ code base will be warning-free by then.
We will start to take care about this issue after the chart2mst3 CWS has been integrated. So, we will probably do the warning-freeness of chart2 in Mid of 2007.
Created attachment 46168 [details] The patch for i69281#
Created attachment 46227 [details] The patch for i69281#
Created attachment 46668 [details] The patch file is only a part of chart2 modules about i69281#
Applied the patch in CWS chart07 and did some more small warning fixes there.
fixed valarray in stlport to suppress warnings. (Is used in chart2/source/tools/InternalDataProvider.cxx) in CWS chart07.
Windows is ready! Checked wntmsci10, wntmsci10.pro and wntmsci10 with debug=t option. Removed chart2 from the list of warning projects in solenv/inc/wntmsci10.mk file.
Forgot to mention: Windows is now warning free, and warnings are treated as errors in CWS chart07
For remaining warnings on Solaris see Issue 79522 . Fixed in CWS chart07
Verified as the last build was successful on wntmsci10, wntmsci10.pro, unxlngi6 and unxlngi6.pro
One addition for the verification: On Linux the compilation command line contains -Wall, on Windows it contains -WX.
On m223 chart2 is removed from the MODULES_WITH_WARNINGS list on unxlngi6 and wntmsci10, so warnings=>errors is on for chart2. As the build finished (and I didn't get a call from release-engineering), I supposed this issue can be closed. ->SB: Please confirm and close.
.