Thank you Andrew for the explanations.
I've tried to solve the gdd warnings, but I haven't found a solution yet. My first try was to use the copy method:
--- a/src/ca/legacy/gdd/gddI.h +++ b/src/ca/legacy/gdd/gddI.h @@ -114,7 +114,7 @@ inline void gdd::setStatSevr(aitInt16 stat, aitInt16 sevr) { status.s.aitStat = stat; status.s.aitSevr = sevr; }
inline gdd& gdd::operator=(const gdd& v) - { memcpy(this,&v,sizeof(gdd)); return *this; } + { this->copy(&v); return *this; }
inline int gdd::isScalar(void) const { return dimension()==0?1:0; } inline int gdd::isContainer(void) const
But with this change the code doesn't compile, and I don't know why. I got this:
make[3]: *** No rule to make target '../O.Common/gddApps.h', needed by '../../../../../include/gddApps.h'. Stop. make[2]: *** [../../../../configure/RULES_ARCHS:58: install.linux-x86_64] Error 2 make[1]: *** [../configure/RULES_DIRS:85: ca/legacy/gdd.install] Error 2 make: *** [configure/RULES_DIRS:85: src.install] Error 2
Thank you Andrew for the explanations.
I've tried to solve the gdd warnings, but I haven't found a solution yet.
My first try was to use the copy method:
--- a/src/ca/ legacy/ gdd/gddI. h legacy/ gdd/gddI. h r(aitInt16 stat, aitInt16 sevr)
+++ b/src/ca/
@@ -114,7 +114,7 @@ inline void gdd::setStatSev
{ status.s.aitStat = stat; status.s.aitSevr = sevr; }
inline gdd& gdd::operator= (const gdd& v) this,&v, sizeof( gdd)); return *this; }
- { memcpy(
+ { this->copy(&v); return *this; }
inline int gdd::isScalar(void) const { return dimension()==0?1:0; } r(void) const
inline int gdd::isContaine
But with this change the code doesn't compile, and I don't know why. I got this:
make[3]: *** No rule to make target '../O.Common/ gddApps. h', needed by '../../ ../../. ./include/ gddApps. h'. Stop. ../../configure /RULES_ ARCHS:58: install. linux-x86_ 64] Error 2 RULES_DIRS: 85: ca/legacy/ gdd.install] Error 2 RULES_DIRS: 85: src.install] Error 2
make[2]: *** [../../
make[1]: *** [../configure/
make: *** [configure/