Re: [AD] #include <allegro.h> vs #include "allegro.h" in the examples |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, 3 Oct 2004 13:50:07 -0700, Robert Ohannessian
<rohannessian@xxxxxxxxxx> wrote:
> I think the reason was that the examples get built before Allegro is
> installed, so the compiler may not find allegro.h if you use <>.
>
Yes. But directories specified with -I are searched first. (I suspect
this may have changed at some version of gcc. Or maybe other compilers
like MSVC have no equicalent of -I, and therefore need "" instead of
<>?)