"Eric G. Miller" a �crit dans le message news: IpfQ9.4953 > > It took a week to understand what was happenning. Would not have passed the > > first compilation in Ada. FWIW... > > You're right, but I'm sure gcc could have immediately diagnosed the > problem had you turned up the warnings ("conflicting types for...", "previous > declaration of ..."). > Warnings were on, he just overlooked them.... That's what makes a huge difference between a warning which is up to the good will of the compiler (and the programmer paying attention to it), and a *required* compile time error! (count that as another moral of the story). -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr