Ticket #887: Re-enable compile as C++ option for libraries as part of making exception work in Symbian
- also added pjlib-test in bld.inf
- added pjlib-test.pkg
- changed hash.c to hash_test.c in pjlib_test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2768 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/build.symbian/pjlib_util.mmp b/build.symbian/pjlib_util.mmp
index c2d6ebe..bdfab84 100644
--- a/build.symbian/pjlib_util.mmp
+++ b/build.symbian/pjlib_util.mmp
@@ -22,6 +22,12 @@
MACRO PJ_M_I386=1
MACRO PJ_SYMBIAN=1
+// Must compile as C++, otherwise exception would not work
+OPTION CW -lang c++
+OPTION ARMCC --cpp
+OPTION GCC -x c++
+OPTION GCCE -x c++
+
//
// PJLIB-UTIL files
//