summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSantosh Puranik <santosh.puranik@in.ibm.com>2015-11-24 05:57:48 -0600
committerGregory S. Still <stillgs@us.ibm.com>2015-12-07 07:30:04 -0600
commit6c83004785b99fa088369ee7835e913fe9403ccb (patch)
tree777f35fe0d49046859bd1a833f6e037edad7680d /tools
parent96658ed12b4187865f353248916101e1aaf814f8 (diff)
downloadtalos-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 'tools')
-rwxr-xr-xtools/scripts/parseErrorInfo.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scripts/parseErrorInfo.pl b/tools/scripts/parseErrorInfo.pl
index e192f180..db728c4c 100755
--- a/tools/scripts/parseErrorInfo.pl
+++ b/tools/scripts/parseErrorInfo.pl
@@ -386,7 +386,9 @@ print ECFILE "#include <variable_buffer.H>\n" if ($arg_use_variable_buffers ne u
print ECFILE "#include <error_info.H>\n";
print ECFILE "#include <utils.H>\n";
print ECFILE "#include <hwp_error_info.H>\n";
+print ECFILE "#ifndef FAPI2_NO_FFDC\n";
print ECFILE "#include <collect_reg_ffdc.H>\n";
+print ECFILE "#endif\n";
#print ECFILE "#include <proc_extract_sbe_rc.H>\n\n";
print ECFILE "/**\n";
print ECFILE " * \@brief FFDC gathering classes\n";
OpenPOWER on IntegriCloud