curl-library
Re: Include path problem
Date: Sun, 30 Aug 2009 13:05:48 +0200 (CEST)
On Sat, 29 Aug 2009, Guenter wrote:
>> <curl/curlbuild.h> but as you say nothing else in there includes like
>> that so I too would say "curlbuild.h" is the appropriate way.
> I disagree here - curlbuild.h is a distributed header, and all
> distributed header will normaly be included with:
> #include <curl/...h>
> as we also have in our samples; so agreed we change to:
> #include <curl/curlbuild.h>
> but disagreed that we drop the prefix - that would certainly break all
> Linux builds.
It is "distributed" but why would the headers that already are present in the
curl/ subdir need to include files with curl/ when they're already supposed to
be in the same dir?
It will break only if they are not in the same dir in installations. Is that
the case now?
-- / daniel.haxx.seReceived on 2009-08-30