unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Dirty compile due to CHAR_WIDTH macro redefinition
@ 2018-01-03 22:56 Jeffrey Walton
  2018-01-04  0:51 ` Paul Eggert
  0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey Walton @ 2018-01-03 22:56 UTC (permalink / raw)
  To: emacs-devel

Hi Everyone,

I'm building Emacs 24.5 from sources. I'm catching a dirty compile due
to CHAR_WIDTH. The quanity of them is drowning out other noise that
may be important.

My question is, is it safe to undefine the Emac version? I was
thinking a sed after unpacking to delete it.

If not, then how should we handle it?

Thanks in advance.

**********

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/scroll.d -MP     -m64
-march=native -fPIC  scroll.c
In file included from frame.c:29:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from frame.c:24:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from dispextern.h:25:0,
                 from termchar.h:19,
                 from dispnew.c:27:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from dispnew.c:26:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from dispextern.h:25:0,
                 from termchar.h:19,
                 from scroll.c:26:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from scroll.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/xdisp.d -MP     -m64
-march=native -fPIC  xdisp.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/menu.d -MP     -m64
-march=native -fPIC  menu.c
In file included from ccl.h:29:0,
                 from font.h:25,
                 from composite.h:28,
                 from coding.h:314,
                 from keyboard.h:21,
                 from xdisp.c:295:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from xdisp.c:291:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from ccl.h:29:0,
                 from font.h:25,
                 from composite.h:28,
                 from coding.h:314,
                 from keyboard.h:21,
                 from menu.c:26:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from menu.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/window.d -MP     -m64
-march=native -fPIC  window.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/charset.d -MP     -m64
-march=native -fPIC  charset.c
In file included from window.c:26:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from window.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from charset.c:38:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from charset.c:34:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/coding.d -MP     -m64
-march=native -fPIC  coding.c
In file included from coding.c:294:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from coding.c:293:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/category.d -MP     -m64
-march=native -fPIC  category.c
In file included from category.c:34:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from category.c:33:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/ccl.d -MP     -m64
-march=native -fPIC  ccl.c
In file included from ccl.c:32:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ccl.c:29:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/character.d -MP     -m64
-march=native -fPIC  character.c
In file included from character.c:39:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/intprops.h:23,
                 from character.c:37:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/chartab.d -MP     -m64
-march=native -fPIC  chartab.c
In file included from chartab.c:24:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from chartab.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/bidi.d -MP     -m64
-march=native -fPIC  bidi.c
In file included from bidi.c:243:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from bidi.c:242:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/cm.d -MP     -m64
-march=native -fPIC  cm.c
In file included from dispextern.h:25:0,
                 from frame.h:26,
                 from cm.c:25:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from cm.c:24:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/term.d -MP     -m64
-march=native -fPIC  term.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/terminal.d -MP     -m64
-march=native -fPIC  terminal.c
In file included from dispextern.h:25:0,
                 from termchar.h:19,
                 from term.c:31:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from term.c:30:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from dispextern.h:25:0,
                 from frame.h:26,
                 from terminal.c:24:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from terminal.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/xfaces.d -MP     -m64
-march=native -fPIC  xfaces.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/emacs.d -MP     -m64
-march=native -fPIC  emacs.c
In file included from xfaces.c:208:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from xfaces.c:207:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from emacs.c:64:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from emacs.c:34:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/keyboard.d -MP     -m64
-march=native -fPIC  keyboard.c
In file included from dispextern.h:25:0,
                 from termchar.h:19,
                 from keyboard.c:27:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from keyboard.c:26:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/macros.d -MP     -m64
-march=native -fPIC  macros.c
In file included from macros.c:26:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from macros.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/keymap.d -MP     -m64
-march=native -fPIC  keymap.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/sysdep.d -MP     -m64
-march=native -fPIC  sysdep.c
In file included from keymap.c:47:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from keymap.c:45:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from ccl.h:29:0,
                 from font.h:25,
                 from composite.h:28,
                 from coding.h:314,
                 from keyboard.h:21,
                 from sysdep.c:87:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from sysdep.c:28:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/buffer.d -MP     -m64
-march=native -fPIC  buffer.c
In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from buffer.c:33:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from /usr/include/sys/param.h:26,
                 from buffer.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/filelock.d -MP     -m64
-march=native -fPIC  filelock.c
In file included from filelock.c:48:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from filelock.c:47:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/insdel.d -MP     -m64
-march=native -fPIC  insdel.c
In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from insdel.c:26:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/intprops.h:23,
                 from insdel.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/marker.d -MP     -m64
-march=native -fPIC  marker.c
In file included from marker.c:24:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from marker.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/minibuf.d -MP     -m64
-march=native -fPIC  minibuf.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/fileio.d -MP     -m64
-march=native -fPIC  fileio.c
In file included from minibuf.c:27:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from minibuf.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/dired.d -MP     -m64
-march=native -fPIC  dired.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/cmds.d -MP     -m64
-march=native -fPIC  cmds.c
In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from fileio.c:46:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from fileio.c:21:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from cmds.c:25:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from cmds.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from dired.c:42:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from dired.c:40:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/casetab.d -MP     -m64
-march=native -fPIC  casetab.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/casefiddle.d -MP     -m64
-march=native -fPIC  casefiddle.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/indent.d -MP     -m64
-march=native -fPIC  indent.c
In file included from casetab.c:24:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from casetab.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from casefiddle.c:25:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from casefiddle.c:24:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/search.d -MP     -m64
-march=native -fPIC  search.c
In file included from indent.c:24:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from indent.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from search.c:26:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from search.c:24:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/regex.d -MP     -m64
-march=native -fPIC  regex.c
In file included from regex.c:131:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from regex.c:130:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/undo.d -MP     -m64
-march=native -fPIC  undo.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/alloc.d -MP     -m64
-march=native -fPIC  alloc.c
In file included from undo.c:24:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from undo.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from alloc.c:36:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from alloc.c:24:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/data.d -MP     -m64
-march=native -fPIC  data.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/doc.d -MP     -m64
-march=native -fPIC  doc.c
In file included from data.c:31:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/count-one-bits.h:22,
                 from data.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from doc.c:33:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from doc.c:32:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/editfns.d -MP     -m64
-march=native -fPIC  editfns.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/callint.d -MP     -m64
-march=native -fPIC  callint.c
In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from editfns.c:53:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from editfns.c:36:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from callint.c:24:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from callint.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/eval.d -MP     -m64
-march=native -fPIC  eval.c
In file included from ccl.h:29:0,
                 from font.h:25,
                 from composite.h:28,
                 from coding.h:314,
                 from keyboard.h:21,
                 from eval.c:28:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from eval.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/floatfns.d -MP     -m64
-march=native -fPIC  floatfns.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/fns.d -MP     -m64
-march=native -fPIC  fns.c
In file included from fns.c:30:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/intprops.h:23,
                 from fns.c:26:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/font.d -MP     -m64
-march=native -fPIC  font.c
In file included from font.c:30:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from font.c:29:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/print.d -MP     -m64
-march=native -fPIC  print.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/lread.d -MP     -m64
-march=native -fPIC  lread.c
In file included from print.c:26:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from print.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from lread.c:31:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from lread.c:28:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/syntax.d -MP     -m64
-march=native -fPIC  syntax.c
In file included from syntax.c:27:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from syntax.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/unexelf.d -MP     -m64
-march=native -fPIC  unexelf.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/bytecode.d -MP     -m64
-march=native -fPIC  bytecode.c
In file included from bytecode.c:39:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from bytecode.c:38:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/process.d -MP     -m64
-march=native -fPIC  process.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/gnutls.d -MP     -m64
-march=native -fPIC  gnutls.c
In file included from dispextern.h:25:0,
                 from window.h:23,
                 from process.c:100:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from process.c:32:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from ccl.h:29:0,
                 from font.h:25,
                 from composite.h:28,
                 from coding.h:314,
                 from gnutls.c:24:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from gnutls.c:22:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/callproc.d -MP     -m64
-march=native -fPIC  callproc.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/region-cache.d -MP     -m64
-march=native -fPIC  region-cache.c
In file included from callproc.c:47:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from callproc.c:31:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from region-cache.c:26:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from region-cache.c:25:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/sound.d -MP     -m64
-march=native -fPIC  sound.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/atimer.d -MP     -m64
-march=native -fPIC  atimer.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/doprnt.d -MP     -m64
-march=native -fPIC  doprnt.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/intervals.d -MP     -m64
-march=native -fPIC  intervals.c
In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from intervals.c:45:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/intprops.h:23,
                 from intervals.c:43:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from doprnt.c:114:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from doprnt.c:107:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/textprop.d -MP     -m64
-march=native -fPIC  textprop.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/composite.d -MP     -m64
-march=native -fPIC  composite.c
In file included from dispextern.h:25:0,
                 from intervals.h:19,
                 from textprop.c:23:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from textprop.c:22:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

In file included from composite.c:28:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from composite.c:27:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/xml.d -MP     -m64
-march=native -fPIC  xml.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/inotify.d -MP     -m64
-march=native -fPIC  inotify.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/profiler.d -MP     -m64
-march=native -fPIC  profiler.c
In file included from ccl.h:29:0,
                 from font.h:25,
                 from composite.h:28,
                 from coding.h:314,
                 from inotify.c:25:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from ../lib/inttypes.h:54,
                 from lisp.h:29,
                 from inotify.c:24:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8

gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/decompress.d -MP     -m64
-march=native -fPIC  decompress.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/terminfo.d -MP     -m64
-march=native -fPIC  terminfo.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/lastfile.d -MP     -m64
-march=native -fPIC  lastfile.c
gcc -c -I/usr/local/include -DNDEBUG -Demacs  -I. -I. -I../lib
-I./../lib                 -MMD -MF deps/gmalloc.d -MP     -m64
-march=native -fPIC  gmalloc.c
In file included from decompress.c:26:0:
character.h:589:0: warning: "CHAR_WIDTH" redefined
 #define CHAR_WIDTH(c)  \

In file included from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:194:0,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h:34,
                 from /usr/local/include/zconf.h:418,
                 from /usr/local/include/zlib.h:34,
                 from decompress.c:23:
/usr/include/limits.h:147:0: note: this is the location of the
previous definition
 #  define CHAR_WIDTH 8



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Dirty compile due to CHAR_WIDTH macro redefinition
  2018-01-03 22:56 Dirty compile due to CHAR_WIDTH macro redefinition Jeffrey Walton
@ 2018-01-04  0:51 ` Paul Eggert
  2018-01-04  1:28   ` Jeffrey Walton
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggert @ 2018-01-04  0:51 UTC (permalink / raw)
  To: noloader, emacs-devel

On 01/03/2018 02:56 PM, Jeffrey Walton wrote:
> If not, then how should we handle it?

Rename the Emacs macro to CHARACTER_WIDTH. See:

https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4a0d8b4cadcfef8c39581031bd00b3175ca37b43




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Dirty compile due to CHAR_WIDTH macro redefinition
  2018-01-04  0:51 ` Paul Eggert
@ 2018-01-04  1:28   ` Jeffrey Walton
  0 siblings, 0 replies; 3+ messages in thread
From: Jeffrey Walton @ 2018-01-04  1:28 UTC (permalink / raw)
  To: Paul Eggert; +Cc: emacs-devel

On Wed, Jan 3, 2018 at 7:51 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> On 01/03/2018 02:56 PM, Jeffrey Walton wrote:
>>
>> If not, then how should we handle it?
>
> Rename the Emacs macro to CHARACTER_WIDTH. See:
>
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4a0d8b4cadcfef8c39581031bd00b3175ca37b43

Thank you very much.

Jeff



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-04  1:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-03 22:56 Dirty compile due to CHAR_WIDTH macro redefinition Jeffrey Walton
2018-01-04  0:51 ` Paul Eggert
2018-01-04  1:28   ` Jeffrey Walton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).