On Thu, 2015-05-07 at 11:09 -0400, Andrew Stitcher wrote: > On Wed, 2015-05-06 at 23:42 +0100, Gordon Sim wrote: > > ... > > Apparently these are posix functions and are not included in c99. Using > > the proton equivalents in util.h works. Let me know if you want me to > > commit that. > > Gah, sorry I should have spotted that myself earlier. > > I will fix it - I think the current solution we have for strncasecmp > isn't great and I'll fix that at the same time.
Should be fixed on master as of beaea0c1cc8237. Sorry, about that - I wonder if there's a way to stop non C99 symbols being visible, so that I won't keep on using strdup etc. thoughtlessly. Anyone have an idea? Would turning strict C99 mode on stop gcc from allowing POSIX only symbols? Andrew