|
-
July 29th, 2012, 03:53 AM
#14
Re: Error when using volatile object in overload assignment operator.
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;
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|