From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#10474: Building guile 2.x under mingw + msys Date: Thu, 21 Feb 2013 09:18:40 +0100 Message-ID: <87fw0qqdun.fsf@pobox.com> References: <87pqerdxq4.fsf@pobox.com> <83ehuy698u.fsf@gnu.org> <8362ga5h7h.fsf@gnu.org> <87r4ywpnv0.fsf@gnu.org> <83r4yw49u6.fsf@gnu.org> <87y5smnj86.fsf@pobox.com> <83ehudp29y.fsf@gnu.org> <87y5ekx9u2.fsf@pobox.com> <83ip5mokzx.fsf@gnu.org> <87y5eisl6p.fsf@pobox.com> <83a9qynx77.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361434797 16627 80.91.229.3 (21 Feb 2013 08:19:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2013 08:19:57 +0000 (UTC) Cc: ludo@gnu.org, 10474@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Feb 21 09:20:13 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U8RO0-0004Eh-QP for guile-bugs@m.gmane.org; Thu, 21 Feb 2013 09:20:13 +0100 Original-Received: from localhost ([::1]:54316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8RNg-0008Bc-82 for guile-bugs@m.gmane.org; Thu, 21 Feb 2013 03:19:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8RNd-0008BV-4r for bug-guile@gnu.org; Thu, 21 Feb 2013 03:19:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8RNb-0000dU-Ee for bug-guile@gnu.org; Thu, 21 Feb 2013 03:19:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8RNb-0000dH-9s for bug-guile@gnu.org; Thu, 21 Feb 2013 03:19:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U8ROo-00014L-A7 for bug-guile@gnu.org; Thu, 21 Feb 2013 03:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 21 Feb 2013 08:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10474 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10474-submit@debbugs.gnu.org id=B10474.13614348044042 (code B ref 10474); Thu, 21 Feb 2013 08:21:02 +0000 Original-Received: (at 10474) by debbugs.gnu.org; 21 Feb 2013 08:20:04 +0000 Original-Received: from localhost ([127.0.0.1]:41292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8RNq-000138-Up for submit@debbugs.gnu.org; Thu, 21 Feb 2013 03:20:03 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:60211 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U8RNo-00012f-5M for 10474@debbugs.gnu.org; Thu, 21 Feb 2013 03:20:01 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id CEE75CC40; Thu, 21 Feb 2013 03:18:43 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=dmdZMs/eSKl+irbt162AG7QuWP4=; b=sLdFdR QVROl+c9L4M2Ju3erZb7xvZpDk6PiHg8LMLHk+2hzQO2tjI7wcGcwtvMMrar8O1M ptuNxLj1YEC+G/F00YXpCAM2cokUn3+GQVEig1d8bGEuQwBiewasav2n87WAV48s nyuitADt76rtx+/zcluV2tE/aoy/YG2E8ynmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=kJN0zcVuAr1o7d6fj+KqBffIcf9uS+Xg VBpOjbIC1NvGYlc05j1Na/hGwscXoxBmPdwdc6R+orp19z/K2ALfZfgzHwRdBcHO lqiSybsvVvptc7haUb35Jp1+tzN9Zo+CSS4geJm9lB+XBVhxU/gEN02FXM5uCAON Bc1VvTKItSo= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id C7DD8CC3F; Thu, 21 Feb 2013 03:18:43 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 4C3F1CC3E; Thu, 21 Feb 2013 03:18:43 -0500 (EST) In-Reply-To: <83a9qynx77.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Feb 2013 05:49:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 4E42833C-7BFF-11E2-9BF0-1C2F0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6767 Archived-At: On Thu 21 Feb 2013 04:49, Eli Zaretskii writes: >> > extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); >> >> In these files, `input' is a char*. So &input should be a char**. >> Shouldn't that cast to const char** without a warning? > > Maybe it's some obscure bug my compiler. If you can get away without > a warning in such situations, even when the prototype does specify > "const char **", then feel free to disregard these changes. They are > certainly not Windows or MinGW specific. I'm not trying to disregard your change, but the cast really shouldn't be necessary. Adding an explicit cast to (const char**) would start causing warnings on platforms that have a posix iconv prototype, like those with GNU libc. So, very respectfully, I think I will not apply this one. Andy -- http://wingolog.org/