emacs-devel
[Top][All Lists]
Advanced

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

Re: Preview: portable dumper


From: andres . ramirez
Subject: Re: Preview: portable dumper
Date: Thu, 15 Feb 2018 12:34:41 -0600

Hello.

Doing make bootstrap on archlinux with cc (GCC) 7.2.1 20180116

I am getting this:
--8<---------------cut here---------------start------------->8---
  CC       pdumper.o
  CC       data.o
In file included from character.h:27:0,
                 from buffer.h:27,
                 from pdumper.c:18:
pdumper.c: In function ‘intmax_t_to_lisp’:
pdumper.c:699:29: error: conversion to ‘EMACS_INT {aka int}’ from ‘intmax_t 
{aka long long int}’ may alter its value [-Werror=conversion]
     return INTEGER_TO_CONS (value);  \
                             ^
lisp.h:3572:19: note: in definition of macro ‘INTEGER_TO_CONS’
    ? make_number (i)          \
                   ^
pdumper.c:703:1: note: in expansion of macro ‘DEFINE_TOLISP_FUNC’
 DEFINE_TOLISP_FUNC (intmax_t_to_lisp, intmax_t);
 ^~~~~~~~~~~~~~~~~~
pdumper.c: In function ‘pdumper_load’:
pdumper.c:5049:14: error: conversion to ‘unsigned int’ from ‘off_t {aka long 
long int}’ may alter its value [-Werror=conversion]
      .size = dump_size - header->cold_start,
              ^~~~~~~~~
pdumper.c:5072:21: error: conversion to ‘intptr_t {aka int}’ from ‘off_t {aka 
long long int}’ may alter its value [-Werror=conversion]
   dump_public.end = dump_public.start + dump_size;
                     ^~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:386: pdumper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
--8<---------------cut here---------------end--------------->8---



reply via email to

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