Author Topic: Tagging is not working for .c files  (Read 3467 times)

sdonepudi

  • Community Member
  • Posts: 23
  • Hero Points: 0
Tagging is not working for .c files
« on: October 12, 2011, 07:55:46 PM »
If a function is written in the following format then tagging is unable to find x_getHeaderCount() function
xBool x_getHeaderCount
#ifdef ANSI_PROTO
   (xMessage *msg, en_HeaderType dType, X_U32bit *count, xError *err)
#else
   (msg, dType, count, err)
   xMessage *msg;
   en_HeaderType dType;
   X_U32bit *count;
   xError *err;
#endif
{
}

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: Tagging is not working for .c files
« Reply #1 on: October 12, 2011, 08:04:35 PM »
Did you add also ANSI_PROTO to C/C++ Preprocessing to tell SE your choice ?
I think you should explicitely add either '#define ANSI_PROTO'  or '#undef ANSI_PROTO'.
HS2
« Last Edit: October 12, 2011, 08:06:06 PM by hs2 »

sdonepudi

  • Community Member
  • Posts: 23
  • Hero Points: 0
Re: Tagging is not working for .c files
« Reply #2 on: October 12, 2011, 08:28:44 PM »
Thanks for the post. I haved added ANSI_PROTO to C/C++ preprocessing and it fixed the issue.