Re: [pcre-dev] Yet Another RC

Top Page
Delete this message
Author: Craig Silverstein
Date:  
To: pcre-dev
CC: pcre-dev
Subject: Re: [pcre-dev] Yet Another RC
} Aarrgghh!! This module currently has
}
} #ifdef HAVE_WINDOWS_H
} # define snprintf _snprintf
} #endif

Sheri, can you verify that the version of the code you have includes
the above test? You say that under msys when running configure, it
says "has windows.h...yes", so HAVE_WINDOWS_H should be true, and you
should never be getting an error about snprintf because it should be
replaced with _snprintf.

It's a bit hard to debug without seeing the sources you have. Can you
maybe include your config.h and your pcre_scanner_unittest.cc? It
could be as simple as needing to #include config.h in
pcre_scanner_unittest.cc. Is HAVE_CONFIG_H defined on your
commandline when you run make?

craig