From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6940 invoked by alias); 9 May 2011 10:44:25 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29197 Received: (qmail 25091 invoked from network); 9 May 2011 10:44:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Mon, 9 May 2011 11:44:02 +0100 From: Peter Stephenson To: "Zsh Hackers' List" Subject: #include problem for generated files included in system.h Message-ID: <20110509114402.38f33fd3@pwslap01u.europe.root.pri> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.103.11.49] X-Scanned-By: MailControl A_10_80_00 (www.mailcontrol.com) on 10.68.0.134 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 (/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 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