Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AsrJJ-00089a-S4 for qemu-devel@nongnu.org; Mon, 16 Feb 2004 17:33:53 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AsrIn-0007fr-HR for qemu-devel@nongnu.org; Mon, 16 Feb 2004 17:33:52 -0500 Received: from [134.2.12.32] (helo=mx5.informatik.uni-tuebingen.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AsrIm-0007db-KT for qemu-devel@nongnu.org; Mon, 16 Feb 2004 17:33:20 -0500 Received: from localhost (loopback [127.0.0.1]) by mx5.informatik.uni-tuebingen.de (Postfix) with ESMTP id ACF51128 for ; Mon, 16 Feb 2004 23:33:18 +0100 (NFT) Received: from mx3.informatik.uni-tuebingen.de ([134.2.12.26]) by localhost (mx5 [134.2.12.32]) (amavisd-new, port 10024) with ESMTP id 44658-03 for ; Mon, 16 Feb 2004 23:33:16 +0100 (NFT) Received: from juist (semeai [134.2.15.66]) by mx3.informatik.uni-tuebingen.de (Postfix) with ESMTP id 4106913B for ; Mon, 16 Feb 2004 23:33:16 +0100 (NFT) Received: from falk by juist with local (Exim 3.36 #1 (Debian)) id 1AsrIh-0000dY-00 for ; Mon, 16 Feb 2004 23:33:15 +0100 From: Falk Hueffner Date: 16 Feb 2004 23:33:15 +0100 Message-ID: <87ptce1wpg.fsf@student.uni-tuebingen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] [patch] fix compilation on Alpha Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, the declaration of uint64_t conflicts with the one from the standard headers (uint64_t is unsigned long, not unsigned long long). I suggest this patch: Index: dyngen-exec.h =================================================================== RCS file: /cvsroot/qemu/qemu/dyngen-exec.h,v retrieving revision 1.8 diff -u -p -r1.8 dyngen-exec.h --- dyngen-exec.h 4 Jan 2004 17:44:08 -0000 1.8 +++ dyngen-exec.h 16 Feb 2004 22:26:34 -0000 @@ -21,29 +21,7 @@ #define __DYNGEN_EXEC_H__ #include - -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; -typedef unsigned long long uint64_t; - -typedef signed char int8_t; -typedef signed short int16_t; -typedef signed int int32_t; -typedef signed long long int64_t; - -#define INT8_MIN (-128) -#define INT16_MIN (-32767-1) -#define INT32_MIN (-2147483647-1) -#define INT64_MIN (-(int64_t)(9223372036854775807)-1) -#define INT8_MAX (127) -#define INT16_MAX (32767) -#define INT32_MAX (2147483647) -#define INT64_MAX ((int64_t)(9223372036854775807)) -#define UINT8_MAX (255) -#define UINT16_MAX (65535) -#define UINT32_MAX (4294967295U) -#define UINT64_MAX ((uint64_t)(18446744073709551615)) +#include #define bswap32(x) \ ({ \ -- Falk