Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

@ synthsize signal in XTSMeterView.m produces ivar error when run in Release mode

#29

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;

}

Reported by w3sz · March 19th, 2011 @ 06:10 AM

State: resolved
Milestone: none

Activity

  1. mcdermj (at xenotropic)
    mcdermj (at xenotropic)
    • State changed from new to open
    • Assigned user set to mcdermj (at xenotropic)

    March 19th, 2011 @ 06:25 AM

  2. mcdermj (at xenotropic)
    mcdermj (at xenotropic)
    • State changed from open to resolved

    (from [213]) * Fixed compile error while compiling in release mode. iVars are not auto generated in i386.

    [#29 state:resolved]

    March 19th, 2011 @ 06:28 AM

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.