@ synthsize signal in XTSMeterView.m produces ivar error when run in Release mode
Reported by w3sz | March 19th, 2011 @ 06:10 AM
When Heterodyne is run in Release mode [not in Debug mode, where all is OK], the following error is generated:
/Heterodyne/XTSMeterView.m:14:13: error: synthesized property 'signal' must either be named the same as a compatible ivar or must explicitly name an ivar @synthesize signal;
^
1 error generated.
To fix this I just added to XTSMeterView.h the line "float signal;" so that is looks like this:
@interface XTSMeterView : NSView { @private
float needlePos;
float sweep;
float signal;
}
Comments and changes to this ticket
-
mcdermj (at xenotropic) March 19th, 2011 @ 06:25 AM
- State changed from “new” to “open”
- Assigned user set to “mcdermj (at xenotropic)”
-
mcdermj (at xenotropic) March 19th, 2011 @ 06:28 AM
- State changed from “open” to “resolved”
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
An open source software project implementing an amateur radio receiver for the OpenHPSDR hardware.
People watching this ticket
Referenced by
- 29 @ synthsize signal in XTSMeterView.m produces ivar error when run in Release mode [#29 state:resolved]