emacs-devel
[Top][All Lists]
Advanced

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

Re: -Wall


From: Lars Magne Ingebrigtsen
Subject: Re: -Wall
Date: Tue, 05 Apr 2016 09:39:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> Yes, -Dlint or its equivalent, which --enable-gcc-warnings arranges for.

And I see that --enable-gcc-warnings doesn't just enable warnings, but
makes them into errors:

make[1]: Entering directory `/home/larsi/src/emacs/trunk/src'
  GEN      globals.h
  CC       vm-limit.o
vm-limit.c:58:0: error: macro "__MALLOC_HOOK_VOLATILE" is not used 
[-Werror=unused-macros]
cc1: all warnings being treated as errors
make[1]: *** [vm-limit.o] Error 1
make[1]: Leaving directory `/home/larsi/src/emacs/trunk/src'
make: *** [src] Error 2

(This is on an older Debian machine.)

I still think that warnings should be enabled by default (on Linux), but
they shouldn't be treated as errors.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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