From ff159f66710f497b6c3ccf71c802f9aab1ca0c34 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Mon, 14 May 2001 20:10:18 +0000 Subject: [PATCH] Fix for project facility generated VxWorks kernel and C++ code load error. --- iocBoot/iocWithAsyn/st.cmd | 5 +++++ iocBoot/iocWithMPF/st.cmd | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/iocBoot/iocWithAsyn/st.cmd b/iocBoot/iocWithAsyn/st.cmd index 26181bbb..c00f0d44 100644 --- a/iocBoot/iocWithAsyn/st.cmd +++ b/iocBoot/iocWithAsyn/st.cmd @@ -20,6 +20,11 @@ #< ../nfsCommands cd appbin + +# If the VxWorks kernel was built using the project facility, the following must +# be added before any C++ code is loaded (see SPR #28980). +sysCplusEnable=1 + ld < WithMPFLib cd startup diff --git a/iocBoot/iocWithMPF/st.cmd b/iocBoot/iocWithMPF/st.cmd index 26181bbb..c00f0d44 100644 --- a/iocBoot/iocWithMPF/st.cmd +++ b/iocBoot/iocWithMPF/st.cmd @@ -20,6 +20,11 @@ #< ../nfsCommands cd appbin + +# If the VxWorks kernel was built using the project facility, the following must +# be added before any C++ code is loaded (see SPR #28980). +sysCplusEnable=1 + ld < WithMPFLib cd startup