autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why not #include "config.h"?


From: Steffen Dettmer
Subject: why not #include "config.h"?
Date: Tue, 22 Sep 2009 10:49:58 +0200

I hope I don't ask a FAQ. If so, an URL would be appreciated.

I've read here that someone could (should?) write
  #include <config.h>
specifying a system header instead of the IMHO correct
  #include "config.h"

As far as I know the difference is that in the first version
system directories are searched but user directories in the
second.

Is this a kind of trick for something?
Is is guaranteed that all compilers search the user path after
the system path if the file was not found?

oki,

Steffen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]