Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
#include problem for generated files included in system.h
- X-seq: zsh-workers 29197
- From: Peter Stephenson <Peter.Stephenson@xxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Subject: #include problem for generated files included in system.h
- Date: Mon, 9 May 2011 11:44:02 +0100
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: Cambridge Silicon Radio
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