> Sorry, I forgot to say that I'm using the latest cygwin. > gcc version is 3.3.1. > I have tried again the little example and now it works. > But my main program which ends by these two lines. > I have cleaned my program and I attach it to this mail.
But in your main program, you don't include math.h, so the function prototype is not known at compile time, which is 'bad programming practice'. I know, it is the same for malloc, exp, free and all those seem to work alright any way... What I can say is that your program works perfectly giving 256.O as a result if you just care to include <math.h>. Laurent. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/