← Back to team overview

kicad-developers team mailing list archive

Re: strtok_r not detected properly

 

> 
> TDM-GCC defines strtok_r in pthread.h instead of string.h (which is not
> usual)


Yes, wrong header also, a 2nd conceptual bug.  Good memory you have JP.


> defined from strtok, which is not reentrant.
> 
> The best is to comment the define in pthread.h (this is what I made)


Might send a patch upstream, or put this in some FAQ.






References