Ticket #2221 (closed defect: invalid)

Opened 9 years ago

Last modified 9 years ago

Compilation from master git clone fails in mc-4.7.2

Reported by: david_sastre Owned by:
Priority: major Milestone:
Component: mc-core Version:
Keywords: Cc: david_sastre
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

Hello,
I've cloned git repo today:

$ git clone git://repo.or.cz/midnight-commander.git
$ cd midnight-commander/
$ ./autogen.sh
$ source /etc/make.conf ; export CFLAGS="${CFLAGS} -ggdb3";
./configure --enable-extcharset --enable-vfs-cpio --enable-vfs-tar
--enable-vfs-ftp --enable-vfs-fish --enable-vfs-extfs --enable-vfs-sfs --enable-vfs-undelfs --enable-vfs-mcfs --enable-netcode --enable-mcserver --enable-background --enable-charset --enable-werror --with-gnu-ld --with-x --with-gpm-mouse --with-search-engine=pcre
$ make -j4

Compilation failed issuing:

option.c:213: error: format %ld' expects type long int', but argument 4 has type `int' [-Wformat]

I checked that (note that I'm no C expert):

option.c:213: g_snprintf (time_out, sizeof (time_out), "%ld", old_esc_mode_timeout);

lib/tty/key.c:492: int old_esc_mode_timeout = 1000000;

This is a Linux ghost 2.6.26-2-686-bigmem Tue Mar 9 18:01:52 UTC 2010 i686 GNU/Linux box.

Change History

comment:1 Changed 9 years ago by andrew_b

  • Status changed from new to closed
  • Version master deleted
  • Resolution set to invalid
  • Milestone 4.7 deleted
Note: See TracTickets for help on using tickets.