Thursday, March 11, 2010

I have a following gcc compilation warning

Programmer Question

symbol.h:179: note: expected ‘uintptr_t *’ but argument is of type ‘PRECEDENCE’



The corresponding code is :



176 void            symbol_SetCount(SYMBOL, unsigned long);
177 unsigned long symbol_GetCount(SYMBOL);
178
179 size_t symbol_Ordering(uintptr_t*, SYMBOL);
180
181 void symbol_CheckIndexInRange(int);
182 void symbol_CheckNoVariable(SYMBOL);


SYMBOL is defined as:



typedef size_t SYMBOL


Any effort will be highly appreciated.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails