That's very strange. I don't know what CodeBlocks is; it is possible *it's* defining HAVE_STRTOQ somehow? You point to the config.h that does not define HAVE_STRTOQ (or does it define it somewhere else in the config.h, that you're not showing?), and the code is protected by #ifdef HAVE_STRTOQ, so it all seems correct to me.
I think you'll have to dig a bit deeper yourself -- what is the compile command that CodeBlock generates that results in these error lines? What happens when you try running that compile command manually? What happens if you add -E (or whatever) to get the preprocessed output of the compile? craig -- ## List details at http://lists.exim.org/mailman/listinfo/pcre-dev
