zsh-workers
 help / color / mirror / code / Atom feed
* #include problem for generated files included in system.h
@ 2011-05-09 10:44 Peter Stephenson
  2011-05-09 14:25 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Stephenson @ 2011-05-09 10:44 UTC (permalink / raw)
  To: Zsh Hackers' List

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@csr.com>            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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-11  8:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-09 10:44 #include problem for generated files included in system.h Peter Stephenson
2011-05-09 14:25 ` Bart Schaefer
2011-05-10 16:36   ` Peter Stephenson
2011-05-10 16:45     ` Peter Stephenson
2011-05-10 21:04       ` Alexey I. Froloff
2011-05-11  8:53         ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).