tech-userlevel archive

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

Re: strtok_r strange failure



On Sat, Feb 08, 2014 at 06:15:22PM +0100, Emmanuel Dreyfus wrote:
> David Holland <dholland-tech%netbsd.org@localhost> wrote:
> 
> >  > 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...
> 
> It is not my program, and unfortunately many projects do not do that. We
> cannot expect the world to do The Right Thing.

There was be a "warning: assignment makes pointer from integer without a cast".
You shouldn't have ignored it.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index