Possible Chill bug, prototypes, ch/satisfy.c:safe_satisfy_decl()
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Aug 16 09:37:00 GMT 1999
When prototyping in the ch/ directory, I came across a
conflict brought to light by the addition of prototypes for
satisfy.c:safe_satisfy_decl():
> satisfy.c: In function `safe_satisfy_decl':
> satisfy.c:208: warning: passing arg 1 of `safe_satisfy_decl' from
> incompatible pointer type
> satisfy.c:219: warning: passing arg 1 of `safe_satisfy_decl' from
> incompatible pointer type
Here's what both calls look like.
> safe_satisfy_decl (DECL_TASKING_CODE_DECL (decl),
> prev_chain);
safe_satisfy_decl() expects a `tree' as its first arg and I think by
calling DECL_TASKING_CODE_DECL() it gets a `struct lang_type *' so
this is probably a bug.
What's the best way to fix this?
Thanks,
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions
More information about the Gcc-bugs
mailing list