ISO C forbids conversion of function pointer to object pointer type
|
|
Bugzilla Link |
813 |
Created on |
Jan 06, 2011 11:50 |
Resolution |
FIXED |
Resolved on |
Jan 10, 2011 08:45 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Attachments |
813.patch |
Extended Description
This seems like "bad" casting. However I am not sure (or know how to fix this).
typecheck/ct_prf.c: In function ‘ApplyCF’:
typecheck/ct_prf.c:33: warning: ISO C forbids conversion of object pointer to function pointer type
typecheck/ct_prf.c:36: warning: ISO C forbids conversion of object pointer to function pointer type
typecheck/ct_prf.c:40: warning: ISO C forbids conversion of object pointer to function pointer type
In file included from typecheck/type_errors.c:72:
tree/prf_info.mac:188: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:196: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:204: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:212: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:220: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:228: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:236: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:244: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:252: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:260: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:268: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:276: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:291: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:299: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:308: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:316: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:324: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:332: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:341: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:349: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:357: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:365: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:380: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:388: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:396: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:404: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:413: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:421: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:429: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:437: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:446: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:454: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:462: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:470: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:479: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:487: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:495: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:503: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:512: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:520: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:528: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:536: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:551: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:559: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:568: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:576: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:585: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:593: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:601: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:609: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:618: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:626: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:634: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:642: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:657: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:665: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:673: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:681: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:690: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:698: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:706: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:714: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:723: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:731: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:739: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:747: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:756: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:764: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:772: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:780: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:789: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:797: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:805: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:813: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:822: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:830: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:838: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:846: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:860: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:868: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:876: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:885: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:893: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:902: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:910: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:918: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:1010: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:1018: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:1026: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:1118: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:1507: warning: ISO C forbids conversion of function pointer to object pointer type
tree/prf_info.mac:1515: warning: ISO C forbids conversion of function pointer to object pointer type