I'd like to propose moving the embedded zlib, regex, and expat libraries within the source tree, so that zlib.h is NOT in Foundation/include/Poco.
Its not so important where it is, though I would recommend it should be something like:
Foundation/include/Poco/contrib/zlib/zlib.h
or
Foundation/include/Poco/contrib/zlib/Poco/zlib.h
The latter is ugly, but more likely too work with application code with just an include path change rather than code changes.
My reasoning is that at present there is no way that I can get Poco to use the pre-installed zlib (same for expat, regex).
The problem is that if a different include in Foundation/include/Poco wants to include zlib.h, then it will typically start searching in that directory and find the embedded one rather than the system header. And it it looks for Poco/zlib.h, then it will always find the embedded one too.
I'd like to be able to adjust the build so that the embedded libraries are not used and I can use more up-to-date versions from upstream without having to assume that Poco releases will import all the upstream fixes and enhancements, which so far as I can tell they don't as a matter of course.
Am I the only one that wants this?





