Another set of warnings on branch 3.15 is related to gdd, the warnings look like this:
In file included from ../gdd.h:511, from ../gddAppTable.h:18, from ../genApps.cc:14:
../gddI.h: In member function ‘gdd& gdd::operator=(const gdd&)’: ../gddI.h:117:30: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class gdd’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] { memcpy(this,&v,sizeof(gdd)); return *this; } ^
Is it worthy to fix them?
I'm asking because the gdd code is in a folder called legacy.
Another set of warnings on branch 3.15 is related to gdd, the warnings look like this:
In file included from ../gdd.h:511,
from ../gddAppTable. h:18, from ../genApps.cc:14: (const gdd&)’: ../gddI.h:117:30: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class gdd’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] { memcpy( this,&v, sizeof( gdd)); return *this; }
^
../gddI.h: In member function ‘gdd& gdd::operator=
Is it worthy to fix them?
I'm asking because the gdd code is in a folder called legacy.