This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/22301] [4.1 Regression] Ada does not build into a clean prefix when unwind.h is not installed
- From: "hainque at adacore dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2005 14:08:25 -0000
- Subject: [Bug ada/22301] [4.1 Regression] Ada does not build into a clean prefix when unwind.h is not installed
- References: <20050705014041.22301.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hainque at adacore dot com 2005-07-05 14:08 -------
Subject: Re: [4.1 Regression] Ada does not build into a clean prefix when unwind.h is not installed
charlet at gcc dot gnu dot org wrote:
> Hmm, so it means that there is no way for a compiler front-end to use GCC's
> exception handling mechanism ?
Humm, I guess it's even uncommon/unique-to-Ada to use exceptions in the
compiler at all, isn't it ?
> I would guess adding a #if IN_RTS around the unwind.h include would probably
> solve this issue:
>
> #if IN_RTS
> #include "unwind.h"
> #endif
>
> Olivier, what do you think of the above ?
I'm afraid conditioning the #include alone won't do, and need to check a
couple of bits before commenting further.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22301