Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

#include problem for generated files included in system.h



Next problem found by compiling somewhere I haven't done for a while.

My Solaris 8 (ancient but still working) set-up uses separate source and
build trees.  This is falling over when system.h tries to include
zshterm.h and zshcurses.h: system.h is included in the build tree from
the source tree (<somer-relative-path-added-to-zsh.mdd>/system.h) which
causes it not to find zshterm.h and zshcurses.h in the build tree itself.

I could copy or link (but we have systems where either hard links or
soft links don't work) system.h into the build tree if it's different,
but that's not very nice.

I think the fix is probably to move the stuff from system.h into a
separate header and #include that after system.h.  However, maybe
someone can see a simpler fix.

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom



Messages sorted by: Reverse Date, Date, Thread, Author