Time,
We already have a divergence in naming of starlink header files, in
that some are "pkg.h" and some are "pkg_par.h". If we adopted "pkg_par.h"
as the new standard for header files, at would at least avoid having to
change things to have a star/include/star directory.
David
problematic
headers
On Thu, 20 Oct 2005, Tim Jenness wrote:
> David,
>
> The new /star/include/grp.h clashes with the system <grp.h> used for
> system routines such as getgrnam (at least on linux). This causes system
> software that relies on these routines whilst also using starlink software
> (e.g. perl when building starlink interfaces) to fail tragically. We can
> no longer build perl starlink modules.
>
> I think this really means that /star/include/grp.h needs to be
> renamed...( star_grp.h ? ). Ideally to preserve namespaces, we would have
> put all the Starlink C include files in their own directory ($STARLINK/include/star) so that
> they could be loaded as
>
> #include "star/grp.h"
>
> but it's probably too late for that now... :-(
>
> (although I suppose *new* include files could be put there from now on
> (and any that were new since the last official release could be moved)).
>
> --
> Tim Jenness
> JAC software
> http://www.jach.hawaii.edu/~timj
>
|