Bug #12715 Compilation of yassl/algebra.ccp fails on buildqnx2
Submitted: 22 Aug 2005 8:37 Modified: 7 Sep 2005 6:59
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version: OS:
Assigned to: Magnus Blåudd CPU Architecture:Any

[22 Aug 2005 8:37] Magnus Blåudd
Description:
01992: ccache qcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../include -I../../mySTL   -DYASSL_PURE_C -O3 -DDBUG_OFF -O1 -Wl,-E   -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_PRAGMA_IMPLEMENTATION -c -o algebra.o algebra.cpp
01993: In file included from /usr/include/cpp/new:4,
01994:                  from ../../mySTL/helpers.hpp:31,
01995:                  from ../../mySTL/vector.hpp:30,
01996:                  from algebra.cpp:26:
01997: /usr/include/cpp/exception: In method `void std::bad_exception::_Doraise() const':
01998: /usr/include/cpp/exception:80: exception handling disabled, use -fexceptions to enable
01999: cc: /usr/lib/gcc-lib/ntox86/2.95.3/cc1plus error 33
02000: make[4]: *** [algebra.o] Error 1

How to repeat:
Compile MySQL with yassl on buildqnx2

Suggested fix:
Either find compiler switches that disregards the excpetions related keywords like throw raise etc. Or remove the include directive for <new> from ../../mySTL/helpers.hpp:31.
[6 Sep 2005 16:57] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/29382