Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 46967 invoked from network); 28 Jun 2005 04:09:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2005 04:09:25 -0000 Received: (qmail 6733 invoked by uid 500); 28 Jun 2005 04:09:21 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 6662 invoked by uid 500); 28 Jun 2005 04:09:21 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 6603 invoked by uid 99); 28 Jun 2005 04:09:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 21:09:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jayvdb@gmail.com designates 64.233.162.198 as permitted sender) Received: from [64.233.162.198] (HELO zproxy.gmail.com) (64.233.162.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 21:09:20 -0700 Received: by zproxy.gmail.com with SMTP id 8so286053nzo for ; Mon, 27 Jun 2005 21:09:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=glpgGgzO7qS6UGU9gNe4c5tF6iaE0XLQRh12ptGrl9u+LauHld1EsQkx4Un5EBgP2HNzzkB8PLrqTj2iLpxulyBpg43F/QV0lK44VkDPc2R5k2RYGFvvqEhYvTk5Q0i915Dw7hpaNhoGe5QpMSG5wA5uB+i864npyztQYWItW2Q= Received: by 10.36.4.14 with SMTP id 14mr1290887nzd; Mon, 27 Jun 2005 21:09:17 -0700 (PDT) Received: by 10.36.80.12 with HTTP; Mon, 27 Jun 2005 21:09:17 -0700 (PDT) Message-ID: Date: Tue, 28 Jun 2005 14:09:17 +1000 From: John Vandenberg Reply-To: John Vandenberg To: dev@apr.apache.org Subject: win32 DWORD and right shift of 32 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, One of the warnings MinGW emits is a bit curious. /apr/include -o file_io/win32/readwrite.lo -c file_io/win32/readwrite.c && touch file_io/win32/readwrite.lo file_io/win32/readwrite.c: In function `read_with_timeout': file_io/win32/readwrite.c:70: warning: right shift count >=3D width of type file_io/win32/readwrite.c: In function `apr_file_write': file_io/win32/readwrite.c:245: warning: right shift count >=3D width of typ= e file_io/win32/readwrite.c:290: warning: right shift count >=3D width of typ= e /bin/sh /libtool --silent --mode=3Dcompile gcc -g -O2 -DHAVE_CONFIG_H=20 -I./include -I/d/workpits/apr/include/arch/win32 -I./include/arch/unix -I/d/workpits/apr/include -o file_io/win32/seek.lo -c file_io/win32/seek.c && touch file_io/win32/seek.lo file_io/win32/seek.c: In function `setptr': file_io/win32/seek.c:40: warning: right shift count >=3D width of type file_io/win32/seek.c: In function `apr_file_seek': file_io/win32/seek.c:117: warning: right shift count >=3D width of type file_io/win32/seek.c:137: warning: left shift count >=3D width of type file_io/win32/seek.c: In function `apr_file_trunc': file_io/win32/seek.c:147: warning: right shift count >=3D width of type Is this a general Win32 problem, or is a DWORD in MSVC land 33 bits ? Cheers, John