[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffer size limitation in insdel.c
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Buffer size limitation in insdel.c |
Date: |
Thu, 23 Sep 2010 16:49:51 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Ok, I think I've found a way to zoom in on this specific problem pretty
easily. If we only concern ourselves with conversion from EMACS_INT to
int, then the following compile command gives us that:
make -k 2>&1 | egrep 'conversion.*int.*(Lisp_Ob|long)'
Here's an example from fns.c, with 131 hits for this error, and
eyeballing them, they mostly seem like valid errors.
make -k 2>&1 | egrep 'conversion.*int.*(Lisp_Ob|long)'
fns.c:110: warning: conversion to 'long unsigned int' from 'Lisp_Object' may
change the sign of the result
fns.c:112: warning: conversion to 'long unsigned int' from 'long int' may
change the sign of the result
fns.c:112: warning: conversion to 'long int' from 'long unsigned int' may
change the sign of the result
fns.c:260: warning: conversion to 'int' from 'Lisp_Object' may alter its value
fns.c:261: warning: conversion to 'int' from 'Lisp_Object' may alter its value
fns.c:263: warning: conversion to 'int' from 'long int' may alter its value
fns.c:264: warning: conversion to 'int' from 'long int' may alter its value
fns.c:266: warning: conversion to 'int' from 'long int' may alter its value
fns.c:268: warning: conversion to 'int' from 'Lisp_Object' may alter its value
fns.c:270: warning: conversion to 'int' from 'long int' may alter its value
fns.c:272: warning: conversion to 'int' from 'Lisp_Object' may alter its value
fns.c:304: warning: conversion to 'int' from 'Lisp_Object' may alter its value
fns.c:306: warning: conversion to 'int' from 'Lisp_Object' may alter its value
fns.c:347: warning: conversion to 'int' from 'long int' may alter its value
fns.c:349: warning: conversion to 'int' from 'long int' may alter its value
fns.c:440: warning: conversion to 'int' from 'long unsigned int' may alter its
value
fns.c:485: warning: conversion to 'int' from 'long int' may alter its value
fns.c:518: warning: conversion to 'int' from 'Lisp_Object' may alter its value
...
etc.
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: Buffer size limitation in insdel.c, (continued)
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Andreas Schwab, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c,
Lars Magne Ingebrigtsen <=
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Richard Stallman, 2010/09/24
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/24
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/24
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/25
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/25
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/25