GNU bug report logs -
#16001
[5ef95e85] fails to build with --enable-gcc-warnings in some configurations
Previous Next
Reported by: Ivan Shmakov <ivan <at> siamics.net>
Date: Fri, 29 Nov 2013 17:56:04 UTC
Severity: normal
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16001 in the body.
You can then email your comments to 16001 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16001
; Package
emacs
.
(Fri, 29 Nov 2013 17:56:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ivan Shmakov <oneingray <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 29 Nov 2013 17:56:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
As of 5ef95e85, building with GCC 4.8.2, --enable-gcc-warnings,
--without-x-toolkit, and GnuTLS 2, fails with:
../../src/xfaces.c:914:0: error: macro "NEAR_SAME_COLOR_THRESHOLD" is not used [-Werror=unused-macros]
#define NEAR_SAME_COLOR_THRESHOLD 30000
^
cc1: all warnings being treated as errors
../../src/gnutls.c:266:1: error: 'gnutls_audit_log_function' defined but not used [-Werror=unused-function]
gnutls_audit_log_function (gnutls_session_t session, const char* string)
^
cc1: all warnings being treated as errors
The causes are:
• the NEAR_SAME_COLOR_THRESHOLD macro’s definition is not
properly guarded with #ifdef HAVE_WINDOW_SYSTEM;
• both the declaration and the definition of
gnutls_audit_log_function () are not properly guarded with
#ifdef HAVE_GNUTLS3.
Adding the respective guards fixes both of the GCC errors.
The issue seem not to be fixed in e7203144, either.
--
FSF associate member #7257
Reply sent
to
Jan Djärv <jan.h.d <at> swipnet.se>
:
You have taken responsibility.
(Sat, 30 Nov 2013 13:33:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ivan Shmakov <oneingray <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 30 Nov 2013 13:33:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 16001-done <at> debbugs.gnu.org (full text, mbox):
Hello.
There are lot of new errors in window.c, xterm.c and xdisp.c after the pixelwise resize checkin, so this report is kind of obsolete. But I checked in fixes for the issues below.
Jan D.
29 nov 2013 kl. 18:02 skrev Ivan Shmakov <oneingray <at> gmail.com>:
> As of 5ef95e85, building with GCC 4.8.2, --enable-gcc-warnings,
> --without-x-toolkit, and GnuTLS 2, fails with:
>
> ../../src/xfaces.c:914:0: error: macro "NEAR_SAME_COLOR_THRESHOLD" is not used [-Werror=unused-macros]
> #define NEAR_SAME_COLOR_THRESHOLD 30000
> ^
> cc1: all warnings being treated as errors
>
> ../../src/gnutls.c:266:1: error: 'gnutls_audit_log_function' defined but not used [-Werror=unused-function]
> gnutls_audit_log_function (gnutls_session_t session, const char* string)
> ^
> cc1: all warnings being treated as errors
>
> The causes are:
>
> • the NEAR_SAME_COLOR_THRESHOLD macro’s definition is not
> properly guarded with #ifdef HAVE_WINDOW_SYSTEM;
>
> • both the declaration and the definition of
> gnutls_audit_log_function () are not properly guarded with
> #ifdef HAVE_GNUTLS3.
>
> Adding the respective guards fixes both of the GCC errors.
>
> The issue seem not to be fixed in e7203144, either.
>
> --
> FSF associate member #7257
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16001
; Package
emacs
.
(Sat, 30 Nov 2013 16:28:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 16001 <at> debbugs.gnu.org (full text, mbox):
> There are lot of new errors in window.c, xterm.c and xdisp.c after the pixelwise resize checkin, so this report is kind of obsolete.
Juanma already fixed some of them, I tried to fix the rest. Please have a look.
Thanks, martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16001
; Package
emacs
.
(Sat, 30 Nov 2013 18:17:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 16001 <at> debbugs.gnu.org (full text, mbox):
>>>>> Jan Djärv <jan.h.d <at> swipnet.se> writes:
>>>>> 29 nov 2013 kl. 18:02 skrev Ivan Shmakov <oneingray <at> gmail.com>:
>> As of 5ef95e85, building with GCC 4.8.2, --enable-gcc-warnings,
>> --without-x-toolkit, and GnuTLS 2, fails with:
[…]
> There are lot of new errors in window.c, xterm.c and xdisp.c after
> the pixelwise resize checkin, so this report is kind of obsolete.
JFTR, while I didn’t look at the current state of the code,
“pixelwise resize” seem to be something related to the Emacs
support for graphical terminals. However, the xfaces.c issue is
likely to only manifest itself when building Emacs with no such
support enabled (IOW, character cell only; which is what I did.)
The gnutls.c issue isn’t entirely dissimilar, as it’s likely to
arise only in some configurations, but not the others.
> But I checked in fixes for the issues below.
ACK, thanks.
--
FSF associate member #7257
Changed bug submitter to 'Ivan Shmakov <ivan <at> siamics.net>' from 'Ivan Shmakov <oneingray <at> gmail.com>'
Request was from
Ivan Shmakov <ivan <at> siamics.net>
to
control <at> debbugs.gnu.org
.
(Mon, 02 Dec 2013 09:42:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 30 Dec 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 144 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.