From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Thu Aug 08 2002 - 18:26:59 EDT
On Fri, 2002-08-09 at 00:19, Joaquín Cuenca Abela wrote:
> On Thu, 2002-08-08 at 23:22, Kenneth J.Davis wrote:
> > No, this hack is ugly! either work around the problem (trivial)
>
> Are you saying that the
> #define for if (0) ; else for
>
> should not be used? why?
C macros to be considered harmful.
This way of fixing the problem is even worse than the problem itself.
We have to support borken compiler, it is a PITA. But for that specific
problem, the fix is rather easy. So why not changing the scope of the
variable ?
This is what I have done (I recommitted something as I goofed the first
time). And stop f*cking flies.
Hub
-- Job-less AbiWord hacker. - http://www.teaser.fr/~hfiguiere/ Cell phone: +33 6 18 01 42 11 GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433 239A 5FEE 05E6 A56E 15A3
This archive was generated by hypermail 2.1.4 : Thu Aug 08 2002 - 18:29:15 EDT