Re: [pcre-dev] [Bug 970] New: Mingw32 CMake : HAVE_STRTOQ is…

Páxina inicial
Borrar esta mensaxe
Autor: Craig Silverstein
Data:  
Para: 970
CC: pcre-dev
Asunto: Re: [pcre-dev] [Bug 970] New: Mingw32 CMake : HAVE_STRTOQ is not found but is defined
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