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/pjsip_simple.mmp b/build.symbian/pjsip_simple.mmp
index b02d142..a6ddbf2 100644
--- a/build.symbian/pjsip_simple.mmp
+++ b/build.symbian/pjsip_simple.mmp
@@ -25,6 +25,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++
+
 // PJSIP-SIMPLE files
 
 SOURCE	errno.c