RE: [AD] #include <allegro.h> vs #include "allegro.h" in the examples |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: <alleg-developers@xxxxxxxxxx>
- Subject: RE: [AD] #include <allegro.h> vs #include "allegro.h" in the examples
- From: "Robert Ohannessian" <ROhannessian@xxxxxxxxxx>
- Date: Sun, 3 Oct 2004 13:50:07 -0700
- Thread-index: AcSpimDwtknnI8ovS3CmgSlxps+IQwAABtuA
- Thread-topic: [AD] #include <allegro.h> vs #include "allegro.h" in the examples
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 <>.
> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Elias Pschernig
> Sent: Sunday, October 03, 2004 4:36 AM
> To: alleg-developers
> Subject: [AD] #include <allegro.h> vs #include "allegro.h" in the
examples
>
> Does anyone know the reason for using "" in the examples? This makes
gcc
> search in the current directory first - which is kind of pointless.
But
> it also doesn't hurt. Still, in my own programs, I always use #include
> <allegro.h>, so maybe we should modify the examples to use the same.
Or
> was there another reason for the ""?
>
>
> --
> Elias Pschernig
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on
ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give
us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
> more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers