This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
4 Replies Last post: Nov 8, 2013 6:35 PM by Alexander Kirillin  
Lewis Hoffman Newbie 3 posts since
Nov 2, 2013
Currently Being Moderated

Nov 2, 2013 9:52 PM

find usages broken in vanilla C code

As you can see in the screenshot, AppCode thinks test_op_new_noun() isn't used, even though it's used only a few lines below.   fwiw, From the usage, following to declaration works.  Help?

I'm fairly new to both C code and AppCode, so I could be missing something really basic here.

Maarten Hazewinkel Novice 263 posts since
Feb 19, 2003
Currently Being Moderated
Nov 3, 2013 6:45 PM in response to: Lewis Hoffman
Re: find usages broken in vanilla C code

I think your source files are not actually part of your project and build target.

 

Select the grayed-out source files in the project view and right click on them.

Choose the menu option 'Add to Xcode project...' to add them to your project and (main) target.

Alexander Kirillin JetBrains 156 posts since
Apr 5, 2011
Currently Being Moderated
Nov 8, 2013 6:35 PM in response to: Lewis Hoffman
Re: find usages broken in vanilla C code

Lewis, please try to execute "find usages" on the greyed method. Does it find anything?

Also could you reduce your file to something you can share with us?

More Like This

  • Retrieving data ...