GNU bug report logs - #27346
module tests fail to compile with gcc 4.8.5

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 12 Jun 2017 17:38:01 UTC

Severity: normal

Found in version 26.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: module tests fail to compile with gcc 4.8.5
Date: Mon, 12 Jun 2017 13:37:18 -0400
Package: emacs
Version: 26.0.50

Current master on rhel7.3.
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)

After building with-modules:
    cd test/data/emacs-module
    make
    
    gcc -std=gnu11 -I../../../src -fPIC -g3 -O2 -c -o mod-test.o mod-test.c
    In file included from mod-test.c:23:0:
    ../../../src/emacs-module.h:38:47: error: missing binary operator before token "("
     #if defined __has_attribute && __has_attribute(__nonnull__)
                                                   ^
    make: *** [mod-test.o] Error 1




This bug report was last modified 7 years and 349 days ago.

Previous Next


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