------- Comment #2 from burnus at gcc dot gnu dot org 2009-07-26 18:42 ------- Created an attachment (id=18255) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18255&action=view) Draft patch
Patch. As I cannot test all the combinations, I would be happy if someone could test it or read the patch. (I will reread it and also do some testing, but by default I am not affect by this bug.) The problem is that the C99 fall back functions are defined in c99_proto.h, but it is not included in intrinsics/c99*.c. Thus there is no prototype and due to the -W* settings, there is an error. I do not quite understand why this has not come up before. Only about 10% of the functions had prototypes - presumably the other 90% of the fall backs are not used... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40863