emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More Emacs compilation warnings?


From: Lars Magne Ingebrigtsen
Subject: Re: More Emacs compilation warnings?
Date: Sat, 18 Sep 2010 18:08:47 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Would there be too many false positives? 

I don't know about false positives, but adding -Wconversion certainly
adds enough warnings of the type:

dispnew.c:6060: warning: conversion to 'int' from 'Lisp_Object' may alter its 
value
dispnew.c:6106: warning: conversion to 'int' from 'long int' may alter its value
dispnew.c:6421: warning: conversion to 'int' from 'long int' may alter its value
dispnew.c:6422: warning: conversion to 'int' from 'long int' may alter its value
dispnew.c:6424: warning: conversion to 'long unsigned int' from 'int' may 
change the sign of the result
dispnew.c:6424: warning: conversion to 'unsigned int' from 'long unsigned int' 
may alter its value
...

address@hidden ~/src/emacs/trunk/src]$ make 2>&1 | grep warning | wc -l
7152

Somebody has a lot of work to do.  :-)

(Or not.)

-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]