Hi. In XCode I declare a function void func (const Valu & val); And when I mistakenly pass a pointer instead of a reference to an object, the compiler does not issue an error or warning message. But it generates incorrect code. How do I enable this error or warning message? Thanks, Andrey.