[flashrom] [PATCH 3/3] udelay.c: usleep() not found in MinGW, used Sleep()

Idwer Vollering vidwer at gmail.com
Wed Apr 3 00:23:29 CEST 2013


2013/4/2 Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
>
> On Mon, 1 Apr 2013 19:08:30 +0400
> Maksim Kuleshov <mmcx at ucs.ru> wrote:
>
> > From 62ffe98744aba140e5959635abb46c32a47887d2 Mon Sep 17 00:00:00 2001
> > From: Maksim Kuleshov <mmcx at mail.ru>
> > Date: Mon, 1 Apr 2013 19:03:43 +0400
> > Subject: [PATCH 3/3] udelay.c: usleep() not found in MinGW, used Sleep()
> >
> > Signed-off-by: Maksim Kuleshov <mmcx at mail.ru>
>
> I don't think that we ever had a problem with that. (Please correct
> me... Idwer?). What version of MinGW are you using? What's your make
> command and what does it print as error?

The gcc I have installed is i486-mingw32-gcc:
https://www.archlinux.org/packages/community/i686/mingw32-gcc/
My local Makefile changes include libusb-win32-bin-1.2.4.0 and
libftdi_0.20git_win32

However, no usleep() problems here:
flashrom.c: In function 'read_buf_from_file':
flashrom.c:1170:3: error: unknown conversion type character 'j' in
format [-Werror=format]
flashrom.c:1170:3: error: format '%ld' expects argument of type 'long
int', but argument 3 has type 'long long int' [-Werror=format]
flashrom.c:1170:3: error: too many arguments for format
[-Werror=format-extra-args]

>
> --
> Kind regards/Mit freundlichen Grüßen, Stefan Tauner
>
> _______________________________________________
> flashrom mailing list
> flashrom at flashrom.org
> http://www.flashrom.org/mailman/listinfo/flashrom




More information about the flashrom mailing list