
24 Oct
2010
24 Oct
'10
2:19 a.m.
- Build system has to replicate path search logic of all compilers, - It's possible to ask the compiler where the header was found - Build system ignores any path search compiler might do, locates the headers/libraries on its own, and the forces the compiler to use them. You can also compile a test program that uses whatever version macros
On Sat, 23 Oct 2010 16:22:37 +0400 Vladimir Prus <vladimir@codesourcery.com> wrote: the library offers(e.g. boost's BOOST_VERSION) to test the version and fail to compile if version is too old. That'll avoid the need for the build system to find the header.