From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randolph Chung To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/commit] Fix nested header include in infttrace.h Date: Wed, 26 May 2004 16:57:00 -0000 Message-id: <20040526165722.GB7207@tausq.org> References: <20040526154101.GA7207@tausq.org> <40B4CA7D.7080302@gnu.org> X-SW-Source: 2004-05/msg00750.html > Unfortunatly this is a GCC extension. It sounds like a header file is really?! wow... fwiw, this works with the ANSI C hp compiler too, and hpux is the only thing that uses infttrace.h .... > missing: > #ifndef FOO_H > #define FOO_H > #endif > wrappers? Adding them is ``obvious''. no, it's not that... this brings in target.h "too early", so that when a C file tries to include tm.h, we cannot override some #defines. the alternative is: +#undef PC_REQUIRES_RUN_BEFORE_USE #define PC_REQUIRES_RUN_BEFORE_USE(pc) hppa_pc_requires_run_before_use (pc) in config/pa/tm-hppa.h. randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/