diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2015-11-24 05:57:48 -0600 |
---|---|---|
committer | Gregory S. Still <stillgs@us.ibm.com> | 2015-12-07 07:30:04 -0600 |
commit | 6c83004785b99fa088369ee7835e913fe9403ccb (patch) | |
tree | 777f35fe0d49046859bd1a833f6e037edad7680d /sbe/sbefw | |
parent | 96658ed12b4187865f353248916101e1aaf814f8 (diff) | |
download | talos-sbe-6c83004785b99fa088369ee7835e913fe9403ccb.tar.gz talos-sbe-6c83004785b99fa088369ee7835e913fe9403ccb.zip |
Some changes for the new compiler
-- Compile out FFDC code that relies on std::shared_ptr and std::pair
-- Define some type traits used in FAPI2
-- Remove stdio.h inclusion from plat code
Change-Id: I5a9e156f654c87c54d26f2e4c99b924285cf981a
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22297
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'sbe/sbefw')
-rw-r--r-- | sbe/sbefw/vector | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbe/sbefw/vector b/sbe/sbefw/vector index 3ed67b85..59cbfdd3 100644 --- a/sbe/sbefw/vector +++ b/sbe/sbefw/vector @@ -15,6 +15,7 @@ #include <stdint.h> #include <pool.H> #include <assert.h> +#include <new> namespace std { @@ -328,7 +329,7 @@ namespace std __attribute__ ((always_inline)) void push_back(const T& x) { - assert(max_size() > size()) + assert(max_size() > size()); new (iv_finish++) T(x); } |