On Fri, Dec 3, 2010 at 11:38 PM, Olaf van der Spek <[email protected]> wrote: > On Fri, Dec 3, 2010 at 11:22 PM, Roger Leigh <[email protected]> wrote: >>> > The header is just a text file. It doesn't contain any library >>> > dependency information (or version information) at all, and there's >>> >>> boost/version.hpp >> >> We only care about SONAME versions, not release versions, and we only >> need to care about what is available to the linker, and headers aren't. > > The header file forwards it to the link via the pragma. > >>> > no way to associate a given header with any shared library at all. >>> >>> boost\filesystem\v3\config.hpp >>> boost/config/auto_link.hpp >> >> These are using proprietary vendor-specific #pragmas. It's pretty > > True, but IMO the concept seems pretty useful. > > Why do you think it's horrible? It appears to work well. > >> horrible, not to mention fragile--if any header fails to include the >> correct bits of magic, it all falls apart. If they had spent just >> a fraction of the time implementing that to support pkg-config, we >> wouldn't have a problem. > > g++ and MSVC don't use pkg-config (AFAIK). > So the complexity is pushed down instead of up.
> Olaf Roger? -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

