In file included from ragel.h:29,
from parsedata.cpp:28:
../aapl/vector.h: In instantiation of ‘void Vector::makeRawSpaceFor(long int, long int) [with T = Key; Resize = ResizeExpn]’:
../aapl/bstcommon.h:478:29: required from ‘Key* BstSet::insert(const Key&, Key**) [with Key = Key; Compare = CmpKey; Resize = ResizeExpn]’
478 | BaseVector::makeRawSpaceFor(insertPos, 1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
parsedata.cpp:228:17: required from here
228 | result.insert( key );
| ~~~~~~~~~~~~~^~~~~~~
../aapl/vector.h:1173:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Key’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1173 | memmove(BaseTable::data + pos + len, BaseTable::data + pos,
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | sizeof(T)*(BaseTable::tabLen-pos));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ragel.h:31:
common.h:40:8: note: ‘struct Key’ declared here
40 | struct Key
| ^~~
../aapl/vector.h: In instantiation of ‘void Vector::upResize(long int) [with T = Key; Resize = ResizeExpn]’:
../aapl/vector.h:1169:2: required from ‘void Vector::makeRawSpaceFor(long int, long int) [with T = Key; Resize = ResizeExpn]’
1169 | upResize( newLen );
| ^~~~~~~~
../aapl/bstcommon.h:478:29: required from ‘Key* BstSet::insert(const Key&, Key**) [with Key = Key; Compare = CmpKey; Resize = ResizeExpn]’
478 | BaseVector::makeRawSpaceFor(insertPos, 1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
parsedata.cpp:228:17: required from here
228 | result.insert( key );
| ~~~~~~~~~~~~~^~~~~~~
../aapl/vector.h:654:55: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct Key’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
654 | BaseTable::data = (T*) realloc( BaseTable::data, sizeof(T) * newLen );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.h:40:8: note: ‘struct Key’ declared here
40 | struct Key
| ^~~
In file included from fsmgraph.h:30,
from fsmgraph.cpp:25:
../aapl/vector.h: In instantiation of ‘void Vector::makeRawSpaceFor(long int, long int) [with T = Key; Resize = ResizeExpn]’:
../aapl/bstcommon.h:478:29: required from ‘Key* BstSet::insert(const Key&, Key**) [with Key = Key; Compare = CmpKey; Resize = ResizeExpn]’
478 | BaseVector::makeRawSpaceFor(insertPos, 1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
fsmgraph.cpp:86:17: required from here
86 | keySet.insert( str[i].toUpper() );
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../aapl/vector.h:1173:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Key’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1173 | memmove(BaseTable::data + pos + len, BaseTable::data + pos,
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | sizeof(T)*(BaseTable::tabLen-pos));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fsmgraph.h:29:
common.h:40:8: note: ‘struct Key’ declared here
40 | struct Key
| ^~~
../aapl/vector.h: In instantiation of ‘void Vector::upResize(long int) [with T = Key; Resize = ResizeExpn]’:
../aapl/vector.h:1169:2: required from ‘void Vector::makeRawSpaceFor(long int, long int) [with T = Key; Resize = ResizeExpn]’
1169 | upResize( newLen );
| ^~~~~~~~
../aapl/bstcommon.h:478:29: required from ‘Key* BstSet::insert(const Key&, Key**) [with Key = Key; Compare = CmpKey; Resize = ResizeExpn]’
478 | BaseVector::makeRawSpaceFor(insertPos, 1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
fsmgraph.cpp:86:17: required from here
86 | keySet.insert( str[i].toUpper() );
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../aapl/vector.h:654:55: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct Key’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
654 | BaseTable::data = (T*) realloc( BaseTable::data, sizeof(T) * newLen );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.h:40:8: note: ‘struct Key’ declared here
40 | struct Key
| ^~~
In file included from fsmattach.cpp:24:
In member function ‘void PairIter::findNext() [with ListItem1 = TransAp; ListItem2 = TransAp]’,
inlined from ‘void PairIter::operator++(int) [with ListItem1 = TransAp; ListItem2 = TransAp]’ at fsmgraph.h:827:33,
inlined from ‘void FsmAp::outTransCopy(MergeData&, StateAp*, TransAp*)’ at fsmattach.cpp:349:33:
fsmgraph.h:902:17: warning: ‘outPair.PairIter::bottomTrans1’ may be used uninitialized [-Wmaybe-uninitialized]
902 | if ( s1Tel.trans == 0 ) {
| ^~
fsmattach.cpp: In member function ‘void FsmAp::outTransCopy(MergeData&, StateAp*, TransAp*)’:
fsmattach.cpp:348:27: note: ‘outPair.PairIter::bottomTrans1’ was declared here
348 | PairIter outPair( dest->outList.head, srcList );
| ^~~~~~~
In file included from ../aapl/bstmap.h:26,
from parsedata.h:29,
from rlparse.kh:27,
from rlparse.kl:22:
../aapl/vector.h: In instantiation of ‘void Vector::upResize(long int) [with T = EpsilonLink; Resize = ResizeExpn]’:
../aapl/vector.h:873:3: required from ‘void Vector::replace(long int, const T*, long int) [with T = EpsilonLink; Resize = ResizeExpn]’
873 | upResize( endPos );
| ^~~~~~~~
../aapl/vector.h:272:52: required from ‘void Vector::append(const T&) [with T = EpsilonLink; Resize = ResizeExpn]’
272 | void append(const T &val) { replace(BaseTable::tabLen, &val, 1); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rlparse.kl:448:47: required from here
448 | $1->factorWithAug->epsilonLinks.append( EpsilonLink( $2->loc, nameRef ) );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../aapl/vector.h:654:55: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct EpsilonLink’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
654 | BaseTable::data = (T*) realloc( BaseTable::data, sizeof(T) * newLen );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from parsedata.h:36:
parsetree.h:154:8: note: ‘struct EpsilonLink’ declared here
154 | struct EpsilonLink
| ^~~~~~~~~~~
In file included from redfsm.h:30,
from redfsm.cpp:22:
../aapl/vector.h: In instantiation of ‘void Vector::remove(long int, long int) [with T = RedTransEl; Resize = ResizeExpn]’:
../aapl/vector.h:172:48: required from ‘void Vector::remove(long int) [with T = RedTransEl; Resize = ResizeExpn]’
172 | void remove(long pos) { remove(pos, 1); }
| ~~~~~~^~~~~~~~
redfsm.cpp:258:17: required from here
258 | range.remove( rpos+1 );
| ~~~~~~~~~~~~^~~~~~~~~~
../aapl/vector.h:1036:24: warning: ‘void* memmove(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct RedTransEl’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
1036 | memmove(dst, dst + len, sizeof(T)*lenToSlideOver);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redfsm.h:247:8: note: ‘struct RedTransEl’ declared here
247 | struct RedTransEl
| ^~~~~~~~~~
../aapl/vector.h: In instantiation of ‘void Vector::upResize(long int) [with T = RedTransEl; Resize = ResizeExpn]’:
../aapl/vector.h:873:3: required from ‘void Vector::replace(long int, const T*, long int) [with T = RedTransEl; Resize = ResizeExpn]’
873 | upResize( endPos );
| ^~~~~~~~
../aapl/vector.h:272:52: required from ‘void Vector::append(const T&) [with T = RedTransEl; Resize = ResizeExpn]’
272 | void append(const T &val) { replace(BaseTable::tabLen, &val, 1); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
redfsm.cpp:257:18: required from here
257 | single.append( range[rpos+1] );
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../aapl/vector.h:654:55: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct RedTransEl’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
654 | BaseTable::data = (T*) realloc( BaseTable::data, sizeof(T) * newLen );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redfsm.h:247:8: note: ‘struct RedTransEl’ declared here
247 | struct RedTransEl
| ^~~~~~~~~~
../aapl/vector.h: In instantiation of ‘void Vector::downResize(long int) [with T = RedTransEl; Resize = ResizeExpn]’:
../aapl/vector.h:1039:2: required from ‘void Vector::remove(long int, long int) [with T = RedTransEl; Resize = ResizeExpn]’
1039 | downResize( newLen );
| ^~~~~~~~~~
../aapl/vector.h:172:48: required from ‘void Vector::remove(long int) [with T = RedTransEl; Resize = ResizeExpn]’
172 | void remove(long pos) { remove(pos, 1); }
| ~~~~~~^~~~~~~~
redfsm.cpp:258:17: required from here
258 | range.remove( rpos+1 );
| ~~~~~~~~~~~~^~~~~~~~~~
../aapl/vector.h:685:55: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct RedTransEl’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
685 | BaseTable::data = (T*) realloc( BaseTable::data, sizeof(T) * newLen );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redfsm.h:247:8: note: ‘struct RedTransEl’ declared here
247 | struct RedTransEl
| ^~~~~~~~~~
In file included from gendata.cpp:36:
csipgoto.h:67:14: warning: ‘virtual void CSharpIpGotoCodeGen::GOTO_HEADER(RedStateAp*)’ was hidden [-Woverloaded-virtual=]
67 | void GOTO_HEADER( RedStateAp *state );
| ^~~~~~~~~~~
In file included from gendata.cpp:37:
cssplit.h:38:14: note: by ‘void CSharpSplitCodeGen::GOTO_HEADER(RedStateAp*, bool)’
38 | void GOTO_HEADER( RedStateAp *state, bool stateInPartition );
| ^~~~~~~~~~~
In file included from gendata.cpp:45:
cdipgoto.h:68:14: warning: ‘virtual void IpGotoCodeGen::GOTO_HEADER(RedStateAp*)’ was hidden [-Woverloaded-virtual=]
68 | void GOTO_HEADER( RedStateAp *state );
| ^~~~~~~~~~~
In file included from gendata.cpp:46:
cdsplit.h:38:14: note: by ‘void SplitCodeGen::GOTO_HEADER(RedStateAp*, bool)’
38 | void GOTO_HEADER( RedStateAp *state, bool stateInPartition );
| ^~~~~~~~~~~
In file included from redfsm.h:30,
from gendata.h:27,
from gendata.cpp:22:
../aapl/vector.h: In instantiation of ‘void Vector::upResize(long int) [with T = RedTransEl; Resize = ResizeExpn]’:
../aapl/vector.h:873:3: required from ‘void Vector::replace(long int, const T*, long int) [with T = RedTransEl; Resize = ResizeExpn]’
873 | upResize( endPos );
| ^~~~~~~~
../aapl/vector.h:272:52: required from ‘void Vector::append(const T&) [with T = RedTransEl; Resize = ResizeExpn]’
272 | void append(const T &val) { replace(BaseTable::tabLen, &val, 1); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gendata.cpp:557:21: required from here
557 | destRange.append( newTel );
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
../aapl/vector.h:654:55: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct RedTransEl’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
654 | BaseTable::data = (T*) realloc( BaseTable::data, sizeof(T) * newLen );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
redfsm.h:247:8: note: ‘struct RedTransEl’ declared here
247 | struct RedTransEl
| ^~~~~~~~~~
In file included from cdsplit.h:25,
from cdsplit.cpp:24:
cdipgoto.h:68:14: warning: ‘virtual void IpGotoCodeGen::GOTO_HEADER(RedStateAp*)’ was hidden [-Woverloaded-virtual=]
68 | void GOTO_HEADER( RedStateAp *state );
| ^~~~~~~~~~~
cdsplit.h:38:14: note: by ‘void SplitCodeGen::GOTO_HEADER(RedStateAp*, bool)’
38 | void GOTO_HEADER( RedStateAp *state, bool stateInPartition );
| ^~~~~~~~~~~
In file included from cssplit.h:25,
from cssplit.cpp:24:
csipgoto.h:67:14: warning: ‘virtual void CSharpIpGotoCodeGen::GOTO_HEADER(RedStateAp*)’ was hidden [-Woverloaded-virtual=]
67 | void GOTO_HEADER( RedStateAp *state );
| ^~~~~~~~~~~
cssplit.h:38:14: note: by ‘void CSharpSplitCodeGen::GOTO_HEADER(RedStateAp*, bool)’
38 | void GOTO_HEADER( RedStateAp *state, bool stateInPartition );
| ^~~~~~~~~~~
In file included from ragel.h:29,
from xmlcodegen.cpp:23:
../aapl/vector.h: In instantiation of ‘void Vector::upResize(long int) [with T = TransEl; Resize = ResizeExpn]’:
../aapl/vector.h:873:3: required from ‘void Vector::replace(long int, const T*, long int) [with T = TransEl; Resize = ResizeExpn]’
873 | upResize( endPos );
| ^~~~~~~~
../aapl/vector.h:272:52: required from ‘void Vector::append(const T&) [with T = TransEl; Resize = ResizeExpn]’
272 | void append(const T &val) { replace(BaseTable::tabLen, &val, 1); }
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
xmlcodegen.cpp:48:17: required from here
48 | outList.append( TransEl( lowKey, highKey, trans ) );
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../aapl/vector.h:654:55: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘struct TransEl’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
654 | BaseTable::data = (T*) realloc( BaseTable::data, sizeof(T) * newLen );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xmlcodegen.h:27,
from xmlcodegen.cpp:24:
fsmgraph.h:480:8: note: ‘struct TransEl’ declared here
480 | struct TransEl
| ^~~~~~~