[pcre-dev] [Bug 970] Mingw32 CMake : HAVE_STRTOQ is not foun…

Kezdőlap
Üzenet törlése
Szerző: Craig Silverstein
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 970] Mingw32 CMake : HAVE_STRTOQ is not found but is defined
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=970




--- Comment #1 from Craig Silverstein <csilvers@???> 2010-04-02 17:39:49 ---
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


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email