Re: [Development] Enable Exceptions for Windows CE as default

2012-05-11 Thread Thiago Macieira
On sexta-feira, 11 de maio de 2012 14.07.49, shane.kea...@accenture.com wrote: > Or just crash - it's undefined behaviour. > When all the libraries are compiled with exceptions enabled, the behaviour > is defined by the language - although any given code path may not be > exception safe due to the

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-11 Thread shane.kearns
> -Original Message- > From: Olivier Goffart [mailto:oliv...@woboq.com] > Sent: 11 May 2012 12:53 > To: Kearns, Shane > Cc: lars.kn...@nokia.com; development@qt-project.org > Subject: Re: [Development] Enable Exceptions for Windows CE as default > > On Friday 11 May

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-11 Thread Olivier Goffart
On Friday 11 May 2012 11:01:38 shane.kea...@accenture.com wrote: > You would also need to disable exceptions in STL. > MSVC will link exception and no exception code without a warning. > > Exception thrown from exception handling DLL or object file to non exception > using main() results in a cras

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-11 Thread shane.kearns
nt: 10 May 2012 21:18 > To: oliv...@woboq.com; development@qt-project.org > Subject: Re: [Development] Enable Exceptions for Windows CE as default > > On 5/10/12 5:13 PM, "ext Olivier Goffart" wrote: > > >On Thursday 10 May 2012 07:10:51 lars.kn...@nokia.com wrote:

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-11 Thread lars.knoll
On 5/11/12 12:51 AM, "ext Thiago Macieira" wrote: >On quinta-feira, 10 de maio de 2012 20.17.34, lars.kn...@nokia.com wrote: >> If we really want to remove that overhead the better option would >>probably >> be to only compile the files that need it with exceptions enabled. > >That's a task for t

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-10 Thread Thiago Macieira
On quinta-feira, 10 de maio de 2012 20.17.34, lars.kn...@nokia.com wrote: > If we really want to remove that overhead the better option would probably > be to only compile the files that need it with exceptions enabled. That's a task for the NextBuildSystemâ„¢. -- Thiago Macieira - thiago.macieira

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-10 Thread Olivier Goffart
On Thursday 10 May 2012 20:17:34 lars.kn...@nokia.com wrote: > On 5/10/12 5:13 PM, "ext Olivier Goffart" wrote: > >There is also QtConcrrent which is not part of QtCore anymore and has > >some > >exception handling possibilities. > > At least currently it doesn't use any try/catch statements. L

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-10 Thread lars.knoll
On 5/10/12 5:13 PM, "ext Olivier Goffart" wrote: >On Thursday 10 May 2012 07:10:51 lars.kn...@nokia.com wrote: >> On 5/10/12 4:20 AM, "ext Thiago Macieira" >> >> wrote: >> >On quarta-feira, 9 de maio de 2012 21.39.53, lars.kn...@nokia.com >>wrote: >> >> How about this then? >> >> >> >> https:/

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-10 Thread Olivier Goffart
On Thursday 10 May 2012 07:10:51 lars.kn...@nokia.com wrote: > On 5/10/12 4:20 AM, "ext Thiago Macieira" > > wrote: > >On quarta-feira, 9 de maio de 2012 21.39.53, lars.kn...@nokia.com wrote: > >> How about this then? > >> > >> https://codereview.qt-project.org/#change,25788 > >> > >> https://c

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-10 Thread lars.knoll
On 5/10/12 10:47 AM, "ext Joerg Bornemann" wrote: >On 09/05/2012 09:45, ext Andreas Holzammer wrote: > >> I was hitting qtxmlpatterns not compiling, because Exceptions are not >> enabled by default for Windows CE. My guess is that this was done for >> performance and or security reasons. > >We've

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-10 Thread Joerg Bornemann
On 09/05/2012 09:45, ext Andreas Holzammer wrote: > I was hitting qtxmlpatterns not compiling, because Exceptions are not > enabled by default for Windows CE. My guess is that this was done for > performance and or security reasons. We've disabled exceptions for the Windows CE port to reduce the

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-10 Thread lars.knoll
On 5/10/12 4:20 AM, "ext Thiago Macieira" wrote: >On quarta-feira, 9 de maio de 2012 21.39.53, lars.kn...@nokia.com wrote: >> How about this then? >> >> https://codereview.qt-project.org/#change,25788 >> >> https://codereview.qt-project.org/#change,25787 > >Yes, something like that. I'm not sur

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Thiago Macieira
On quarta-feira, 9 de maio de 2012 21.39.53, lars.kn...@nokia.com wrote: > How about this then? > > https://codereview.qt-project.org/#change,25788 > > https://codereview.qt-project.org/#change,25787 Yes, something like that. I'm not sure we should do it on 5.0 though. -- Thiago Macieira - thiago.

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread lars.knoll
On 5/9/12 4:30 PM, "ext Thiago Macieira" wrote: >On quarta-feira, 9 de maio de 2012 11.30.35, lars.kn...@nokia.com wrote: >> Actually I wonder why we don't compile all of Qt with exceptions >>disabled >> by default and enable them only for the places they are really needed >> (QtCore for exceptio

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Thiago Macieira
On quarta-feira, 9 de maio de 2012 11.30.35, lars.kn...@nokia.com wrote: > Actually I wonder why we don't compile all of Qt with exceptions disabled > by default and enable them only for the places they are really needed > (QtCore for exception safe signal/slot connections etc, and QtXmlPatterns >

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Hugo Parente Lima
On Wednesday, May 09, 2012 11:30:35 AM lars.kn...@nokia.com wrote: > On 5/9/12 12:33 PM, "ext Olivier Goffart" wrote: > >On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: > >> On 9 May 2012 10:22, Olivier Goffart wrote: [snip] > Actually I wonder why we don't compile all of Qt with ex

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Andreas Holzammer
Am 09.05.2012 13:30, schrieb lars.kn...@nokia.com: > On 5/9/12 12:33 PM, "ext Olivier Goffart" wrote: > >> On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: >>> On 9 May 2012 10:22, Olivier Goffart wrote: On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: > Hi, > >>

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread lars.knoll
On 5/9/12 12:33 PM, "ext Olivier Goffart" wrote: >On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: >> On 9 May 2012 10:22, Olivier Goffart wrote: >> > On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: >> >> Hi, >> >> >> >> I was hitting qtxmlpatterns not compiling, because Ex

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Olivier Goffart
On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: > On 9 May 2012 10:22, Olivier Goffart wrote: > > On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: > >> Hi, > >> > >> I was hitting qtxmlpatterns not compiling, because Exceptions are not > >> enabled by default for Windows CE.

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Giuseppe D'Angelo
On 9 May 2012 10:22, Olivier Goffart wrote: > On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: >> Hi, >> >> I was hitting qtxmlpatterns not compiling, because Exceptions are not >> enabled by default for Windows CE. My guess is that this was done for >> performance and or security reason

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Olivier Goffart
On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: > Hi, > > I was hitting qtxmlpatterns not compiling, because Exceptions are not > enabled by default for Windows CE. My guess is that this was done for > performance and or security reasons. > > I would like to propose that we enable the

[Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Andreas Holzammer
Hi, I was hitting qtxmlpatterns not compiling, because Exceptions are not enabled by default for Windows CE. My guess is that this was done for performance and or security reasons. I would like to propose that we enable the Exceptions for Windows CE for Qt5 as default. If you have concerns, comme