constvolatile.cpp: In function ‘void add(uint32_t, uint32_t, uint32_t, uint64_t, uint64_t, bool)’:
constvolatile.cpp:82: warning: object of type ‘volatile GENERIC_COMMAND&’ will not be accessed in statement
constvolatile.cpp: In function ‘int main()’:
constvolatile.cpp:93: warning: object of type ‘volatile GENERIC_COMMAND&’ will not be accessed in statement
ritul@ritul-laptop:~/Desktop$

line:82: generic = command;
line:93: A[0] = cw;