GNU bug report logs - #17681
24.3.91; "Arithmetic Error" in hide-ifdef mode when using shift operators

Previous Next

Package: emacs;

Reported by: David Engster <deng <at> randomsample.de>

Date: Tue, 3 Jun 2014 19:14:02 UTC

Severity: normal

Found in version 24.3.91

Fixed in version 25.0.95

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Luke Lee <luke.yx.lee <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Glenn Morris <rgm <at> gnu.org>, 17681 <at> debbugs.gnu.org, David Engster <deng <at> randomsample.de>
Subject: bug#17681: 24.3.91; "Arithmetic Error" in hide-ifdef mode when using shift operators
Date: Fri, 6 Jun 2014 14:00:19 +0800
[Message part 1 (text/plain, inline)]
>I think he already sent me a patch fixing this problem

Yes, I think my new patch fixed that problem. However, if you're trying to
hide
jiffies.h it will eventually failed at some other place due to the
"unsigned long"
integer postfix (i.e. the "UL" in 100000UL), which hideif still consider it
a "TODO".

#define TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)



2014-06-06 9:04 GMT+08:00 Stefan Monnier <monnier <at> iro.umontreal.ca>:

> > Luke, could you take a look at this report please?
>
> > http://debbugs.gnu.org/17681
>
> > An artificial but smaller example might be:
>
> > #if 1 / FOO
> > #endif
>
> I think he already sent me a patch fixing this problem (which IIUC is
> a problem I introduced, BTW).
>
>
>         Stefan
>



-- 
Best regards,
Luke Lee
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.