On 05.03.2014 14:49, jan i wrote:
On 5 March 2014 14:42, Andre Fischer <awf....@gmail.com> wrote:

On 05.03.2014 10:01, Herbert Duerr wrote:

On 05.03.2014 09:30, Andre Fischer wrote:

    re C4530: One option would be to compile all sc code with exceptions
enabled.

That sounds reasonable.

   Does anyone know of a reason not to do that?
Not that I'm aware of.

I am neither, that's why I ask :-)

Exception support does make object files larger and possibly a bit slower.
  The question is, is that significant?  Module sw nowadays has exception
support for all its files.  And not changing at least the files in sc/ for
which there are warnings might lead to memory leaks when there are
exceptions.  So it is probably best to activate support for exceptions
module wide.

On ubuntu, the  "slower" is not measureable. It is basically to extra
function calls, and a word extra on heap, I assume it is identical on
windows.

On ubuntu object files seems to be 5-10% bigger, but the final exe (I use
this in e.g. genLang) in my case is less than 1% bigger.

Thanks, that is good to know. I remember vaguely that the size increase on Solaris was more noticeable. But that was years ago.

-Andre


I had problems with exceptions in modules where java is called (just a
warning).


rgds
jan I.


-Andre
Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to