summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/import/hwpf/fapi2/include/error_info.H7
-rw-r--r--src/import/hwpf/fapi2/include/error_info_defs.H2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/import/hwpf/fapi2/include/error_info.H b/src/import/hwpf/fapi2/include/error_info.H
index 9152bc6e..7659e29b 100644
--- a/src/import/hwpf/fapi2/include/error_info.H
+++ b/src/import/hwpf/fapi2/include/error_info.H
@@ -685,4 +685,11 @@ struct ErrorInfoEntry
};
#endif // !defined(FAPI2_NO_FFDC) && !defined(MINIMUM_FFDC)
}
+
+#if !defined(FAPI2_NO_FFDC) && !defined(MINIMUM_FFDC)
+ //explicitly declare for space as these templates are used everywhere
+ extern template class std::shared_ptr<fapi2::ErrorInfo>;
+ extern template class std::shared_ptr<fapi2::ErrorInfoFfdc>;
+#endif
+
#endif // FAPI2_ERRORINFO_H_
diff --git a/src/import/hwpf/fapi2/include/error_info_defs.H b/src/import/hwpf/fapi2/include/error_info_defs.H
index e40af7f9..9852afe5 100644
--- a/src/import/hwpf/fapi2/include/error_info_defs.H
+++ b/src/import/hwpf/fapi2/include/error_info_defs.H
@@ -120,7 +120,7 @@ class ffdc_t
}
private:
- struct ffdc_struct iv_value;
+ struct ffdc_struct iv_value = {}; //init to zero
};
///
OpenPOWER on IntegriCloud