#29 ✓resolved
w3sz

@ 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

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket