Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 99737 invoked from network); 8 Dec 2005 21:22:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Dec 2005 21:22:39 -0000 Received: (qmail 21862 invoked by uid 500); 8 Dec 2005 21:22:33 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 21776 invoked by uid 500); 8 Dec 2005 21:22:31 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 21683 invoked by uid 99); 8 Dec 2005 21:22:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2005 13:22:29 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id C99F918B for ; Thu, 8 Dec 2005 22:22:08 +0100 (CET) Message-ID: <850537436.1134076928823.JavaMail.jira@ajax.apache.org> Date: Thu, 8 Dec 2005 22:22:08 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Closed: (STDCXX-54) [gcc/IRIX] warning: passing of negative value to unsigned int In-Reply-To: <349166459.1129749764997.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/STDCXX-54?page=all ] Martin Sebor closed STDCXX-54: ------------------------------ Fix confirmed. > [gcc/IRIX] warning: passing of negative value to unsigned int > ------------------------------------------------------------- > > Key: STDCXX-54 > URL: http://issues.apache.org/jira/browse/STDCXX-54 > Project: STDCXX > Type: Bug > Components: Build > Versions: 4.1.2 > Environment: gcc/IRIX > Reporter: Martin Sebor > Assignee: Martin Sebor > Fix For: 4.1.3 > > Gcc (in this case 2.95.2) on IRIX gives loads of warnings like the one below: > gcc -c -I/build/sebor/dev/stdlib/include/ansi -D_RWSTDDEBUG -D_REENTRANT -D_RWSTD_USE_CONFIG -I/build/sebor/gcc-2.95.2-15d/include -I/build/sebor/dev/stdlib/include -pedantic -nostdinc++ -fhonor-std -ftemplate-depth-32 -fsquangle -g -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC /build/sebor/dev/stdlib/src/bitset.cpp > In file included from /build/sebor/dev/stdlib/include/rw/_strref.h:41, > from /build/sebor/dev/stdlib/include/string:48, > from /build/sebor/dev/stdlib/include/bitset:39, > from /build/sebor/dev/stdlib/src/bitset.cpp:36: > /build/sebor/dev/stdlib/include/rw/_mutex.h: In function `unsigned int __rw::__rw_atomic_predecrement(unsigned int &, bool)': > /build/sebor/dev/stdlib/include/rw/_mutex.h:1021: warning: argument passing of negative value `-1' to `unsigned int' -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira