README.qtcopy: -no-stl or no -no-stl?

Bo Thorsen bo at sonofthor.dk
Tue Jan 20 09:30:57 GMT 2004


On Monday 19 January 2004 14:20, Navindra Umanee wrote:
> Hi,
>
> The first ./configure example in README.qt-copy is:
>
> ./configure -system-zlib -qt-gif -system-libpng -system-libjpeg \
>   -plugin-imgfmt-mng -thread -no-stl -fast
>
> but the recommended ./configure line for GCC is:
>
> ./configure -system-zlib -qt-gif -system-libpng -system-libjpeg \
>   -plugin-imgfmt-mng -thread -no-exceptions -debug -fast
>
> Why does the first one include -no-stl but not the second one?  There
> isn't an explanation in the file as to which one is most desireable,
> speed and efficiency wise.

And another thing: Why the "-no-exceptions"? Ever since gcc 3.0.0 was out, 
having exceptions support compiled in is free of runtime costs, up until 
the point where you actually throw an exception. If people want to write 
code that uses exceptions, why not allow them to do so? I know there's an 
old grudge against exceptions in kde code, but there's no reason to 
cripple peoples Qt, when they might download Qt apps that need 
exceptions. And yes, there are examples of such apps.

Bo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040120/69cac36f/attachment.sig>


More information about the kde-core-devel mailing list