Your message dated Fri, 19 Aug 2005 09:38:41 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
and subject line pdp: FTBFS (amd64/gcc-4.0): invalid storage class for function
'_map'
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Dec 2004 21:07:05 +0000
>From [EMAIL PROTECTED] Thu Dec 30 13:07:05 2004
Return-path: <[EMAIL PROTECTED]>
Received: from d020125.adsl.hansenet.de (localhost.localdomain) [80.171.20.125]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Ck7Vg-0001fS-00; Thu, 30 Dec 2004 13:07:05 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
id 1Ck7aw-0005HC-Gw; Thu, 30 Dec 2004 22:12:33 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: pdp: FTBFS (amd64/gcc-4.0): invalid storage class for function '_map'
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 30 Dec 2004 22:12:33 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: pdp
Severity: normal
Tags: patch
When building 'pdp' on amd64 with gcc-4.0,
I get the following error:
cc -fPIC -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses
-Wno-switch -O2 -funroll-loops -fomit-frame-pointer -ffast-math
-DPDP_VERSION=\"0.12.3\" -I. -I/usr/X11R6/include -I../include -I../../include
-o pdp_png.o -c pdp_png.c
pdp_png.c: In function '_open_read':
pdp_png.c:100: warning: pointer targets in passing argument 1 of 'png_sig_cmp'
differ in signedness
pdp_png.c: In function '_getimagedata':
pdp_png.c:265: warning: pointer targets in assignment differ in signedness
pdp_png.c: In function '_saveimagedata':
pdp_png.c:306: warning: pointer targets in assignment differ in signedness
make[3]: Leaving directory `/pdp-0.12.3/system/png'
make -C type
make[3]: Entering directory `/pdp-0.12.3/system/type'
cc -fPIC -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses
-Wno-switch -O2 -funroll-loops -fomit-frame-pointer -ffast-math
-DPDP_VERSION=\"0.12.3\" -I. -I/usr/X11R6/include -I../include -I../../include
-o pdp_bitmap.o -c pdp_bitmap.c
pdp_bitmap.c: In function '_pdp_packet_bitmap_convert_mchp_to_rgb8':
pdp_bitmap.c:478: error: invalid storage class for function '_map'
make[3]: *** [pdp_bitmap.o] Error 1
make[3]: Leaving directory `/pdp-0.12.3/system/type'
With the attached patch 'pdp' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/pdp-0.12.3/system/image/pdp_imageproc_common.c
./system/image/pdp_imageproc_common.c
--- ../tmp-orig/pdp-0.12.3/system/image/pdp_imageproc_common.c 2003-11-13
15:47:56.000000000 +0100
+++ ./system/image/pdp_imageproc_common.c 2004-12-30 22:00:05.379850344
+0100
@@ -303,7 +303,7 @@
mask_bot &= 0x80000000; /* isolate bottom sign bit */
mask_top >>= 15; /* shift sign bit into top word */
mask_bot >>= 15;
- ((u32)mask_bot) >>=16; /* shift top word into bottom word */
+ mask_bot = ((u32)mask_bot) >> 16; /* shift top word into bottom word */
return mask_top |mask_bot;
}
diff -urN ../tmp-orig/pdp-0.12.3/system/type/pdp_bitmap.c
./system/type/pdp_bitmap.c
--- ../tmp-orig/pdp-0.12.3/system/type/pdp_bitmap.c 2003-09-15
19:48:56.000000000 +0200
+++ ./system/type/pdp_bitmap.c 2004-12-30 21:58:15.944487048 +0100
@@ -475,7 +475,7 @@
int nb_channels = image->depth;
int new_p, i;
- static inline u8 _map(s32 pixel){
+ inline u8 _map(s32 pixel){
s32 mask = ~(pixel>>16);
return ((pixel >> 7) & mask);
}
---------------------------------------
Received: (at 287907-done) by bugs.debian.org; 19 Aug 2005 07:55:41 +0000
>From [EMAIL PROTECTED] Fri Aug 19 00:55:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from xdv.org [62.116.9.23]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E61j2-0005D4-00; Fri, 19 Aug 2005 00:55:41 -0700
Received: from xdv.org (localhost [127.0.0.1])
by xdv.org (8.13.3/8.13.3/Debian-6) with ESMTP id j7J7cgoN021123
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
for <[EMAIL PROTECTED]>; Fri, 19 Aug 2005 09:38:42 +0200
Received: from localhost ([EMAIL PROTECTED])
by xdv.org (8.13.3/8.13.3/Submit) with ESMTP id j7J7cfR6021120
for <[EMAIL PROTECTED]>; Fri, 19 Aug 2005 09:38:42 +0200
Date: Fri, 19 Aug 2005 09:38:41 +0200 (CEST)
From: Guenter Geiger <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: pdp: FTBFS (amd64/gcc-4.0): invalid storage class for function '_map'
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-0.9 required=4.0 tests=BAYES_00,BLANK_LINES_70_80
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Fixed in latest upload.
Guenter
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]