Tool/software: TI C/C++ Compiler
I have a class with a private members that is a reference to an integer. When I attempt to initialize this reference in the class constructor, I discovered the address of the member is 0x000000. Has anyone seen this kind of thing before? The compiler quietly allows this and (TI v17.9.0.STS) gives no warnings or errors. Below is a screen shot that depicts a simple example that generates this problem. Note: Adding or removing the const qualifier to either the input variable or class member does not change the outcome.