tech-userlevel archive

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

Re: strtok_r strange failure



>> There was be a "warning: assignment makes pointer from integer
>> without a cast".  You shouldn't have ignored it.
> Then it should be an error, not a warning.

I'm not sure you're wrong - but I'm also not sure you're right; there
_are_ contexts where such a thing is reasonable and useful (memory
allocators and kernel internals come to mind), so at the very least it
needs to be disableable.

There's also historical precedent arguing for leaving it as a warning.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index