From: Markus Franke <[EMAIL PROTECTED]>
To: gcc@gcc.gnu.org
Date: Tue, 05 Dec 2006 21:37:30 +0100
Subject: poisened macro definitions
Dear GCC Developers,

I want to port an existing backend (based on version gcc-2.7.2.3) on the
most recent release (gcc-4.1.1). During compilation process I get
several messages about some poisened macro definitions. The macros which
make problems are listed below:

---snip---

--snap---

I read something about poisened macros and that they shouldn't be used
anymore. But in fact I was not able to find any documentation about
these macros. When were they declared as poisened and especially why?
What should be done instead of using this macros? Just uncommenting
everything can't be a solution. I was also looking in GCC-Internals
manual without any success.


Most of the target macros in older version of gcc have been converted
into target hooks.
These macros which are converted are now poisoned macros.
So you will have to replace the macros with the corresponding target hooks.
Some macros will be mergerd into one target hook while some will be
replaced with a target hook. You will have to look into internals of
4.1.1 to find them out.

The following messages should help you out
http://gcc.gnu.org/ml/gcc/2006-08/msg00451.html

http://gcc.gnu.org/ml/gcc-help/2006-08/msg00213.html

Hope this helps.

Regards,
Shafi

Reply via email to