tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strtok_r strange failure



On Wed, Feb 05, 2014 at 07:46:59PM +0100, Emmanuel Dreyfus wrote:
 > > The compiler should have output a warning for the int -> pointer
 > > assignment.  For historic reasons that one isn't an error.
 > 
 > On LP64 it would be much better if it was an error.

If your program doesn't build with -Wall -Werror you only have
yourself to blame...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index