Implicit type conversion check

2006-11-30 Thread Pierre Chatelier
i = d; /* ~ */ 6 u = i; /* may overflow */ 7 i = u; /* may overflow */ 8 9 i = (iwarning */ 10 } Regards, Pierre Chatelier

Re: Is this a bug of gcc ?

2006-03-06 Thread Pierre Chatelier
stood :-) Thanks for taking the time to answer ! Regards, Pierre Chatelier

Re: Is this a bug of gcc ?

2006-03-06 Thread Pierre Chatelier
Thanks for the quick answer. This is ok to fix the source, but I do not understand why it is normal behaviour that the foo() in b hides the one from a. They have different prototypes. Regards, Pierre Chatelier This is not a bug in gcc. foo in b hides the one from a. You can "fix

Is this a bug of gcc ?

2006-03-06 Thread Pierre Chatelier
ot; prototype in the declaration of struct b or -change the foo(void) function into a bar(void) function. I am under the impression that it is a bug of gcc. Should I fill a bug, or am I the one who is confused ? Pierre Chatelier