Apache OpenOffice (AOO) Bugzilla – Issue 16148
.NET Standard doesn't like -Oy- option
Last modified: 2004-02-27 13:01:39 UTC
The .NET compiler doesn't like -Oy- option, it writes lots of the following warnings: --- cl : Befehlszeile warning D4002 : Unbekannte Option '-Oy-' wird ignoriert --- The following patch adds this option only for MSVC 6.
Created attachment 7179 [details] Patch for wnt.mk
Set target. OK for RC?
we should better set COMEX to 8 for .NET in configure ?!
We do already. There is a test in configure.in that looks which tests which cl.exe is used.
mh->vq: what compiler version do you use? cl /? gives me: Optimizing Compiler Verion 13.00.9466 ... /Oy[-] enable frame pointer omission ...
vq->mh: I have .NET C++ Standard 2002, (Cannot look up the version number ATM). The warning is part of a pair of two: cl : Befehlszeile warning D4029 : Die Optimierung ist im Standardcompiler nicht verfÂgbar. cl : Befehlszeile warning D4002 : Unbekannte Option ´-Oy-´ wird ignoriert So the warning is misleading, I will think about a DOTNET=standard option later, something to put into configure for 2.0.
Changed summary
Created attachment 8044 [details] New option for configure: --enable-cl-standard
Created attachment 8045 [details] Patch for wnt.mk
Created attachment 8144 [details] New patch for wnt.mk
When using conf_noopt.diff and solenv_noopt2.diff and calling configure with --enable-cl-standard all warnings due to missing optimisation when using .NET (or MSVC 6) Standard are renoved. vq->hjs: OK?
ok.
Committed to cws_srx645_ooo111fix1.
The wnt.mk part got lost for cws_src680_ooo20031110.
Committed to cws_src680_ooo20031110.
.
close issue.