(Command-line option to display warning: -wstv)
This warning is generated any time a structure is passed by value as an argument.
It is a frequent programming mistake to leave an address-of operator (&) off a structure when passing it as an argument.
Because structures can be passed by value, this omission is acceptable.
This warning provides a way for the compiler to warn you of this mistake.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|