New to OSLib
Adam
lists at snowstone.org.uk
Tue Oct 30 20:45:02 GMT 2007
In message <b84b4f394f.root at vertus.xs4all.nl>, Erik Groenhuis wrote:
> As Adam wrote on 27 Oct 2007:
>
> > In message <f82057384f.steve at helvellyn.stevefryatt.org.uk>, Steve
> > Fryatt wrote:
> >
> > > You want to add OSLib: to your include path (such as by adding
> > > -IOSLib: to your compile parameters -- at least with GCC). Then
> > > access the headers in the form
> > >
> > > #include "oslib/header.h"
> > >
> > > in your source.
> >
> > Thanks, though I wanted to avoid having all the oslib headers on the
> > include path since I figured it'll just increase the potential for
> > name clashes a lot :(
>
> There will not be a clash in header file names. Exactly for this reason
> the OSLib headers must be included in the form "oslib/header.h".
Oh, right, yes :)
> Name clashes between Desklib and OSLib *symbols* wich are in the header
> files you do include is a different matter and can lead to significant
> problems.
Yes, it's a pain, and not worth working around I think for my current
task :(
Cheers,
Adam
P.S. I liked your irregular web comic ;)
--
Adam Richardson Carpe Diem
http://www.snowstone.org.uk/riscos/
More information about the oslib-user
mailing list