Removed C++11 specific code from the CSDK, added platform_features
authorErich Keane <erich.keane@intel.com>
Fri, 31 Jul 2015 23:14:41 +0000 (16:14 -0700)
committerJon A. Cruz <jonc@osg.samsung.com>
Sun, 2 Aug 2015 02:25:17 +0000 (02:25 +0000)
commit7a995b5ca72992e2daf427400f0bbde551f6d682
tree9a39e4cff025cf7e5aaf30ba018a7c02c7411822
parentb2562fdda825eaee1020bd39d04229e730274b3e
Removed C++11 specific code from the CSDK, added platform_features

The CSDK provides some nice-to-have Constructors when compiling
some POD types.  The code erronously used C++11's 'default' keyword,
which isn't available on older compilers.  Since C++11/0x is not a
requirement for the CSDK, this disables the constructors in the case
where C++11/0x is not enabled.

In order to do this, it adds a platform_features.h, which should be used
to selectively compile things based on features (rather than based on
the platform name itself)

Change-Id: Ie8b9a5e9b5d6424fd8a1f37cfdbd587f665c2638
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2036
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
android/android_api/base/jni/Android.mk
resource/c_common/SConscript
resource/c_common/platform_features.h [new file with mode: 0644]
resource/csdk/stack/include/octypes.h