From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10053 invoked by alias); 16 Aug 2012 20:51:28 -0000 Received: (qmail 10044 invoked by uid 22791); 16 Aug 2012 20:51:27 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Aug 2012 20:51:10 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7GKp8dh013191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Aug 2012 16:51:08 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q7GKp69C001544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Aug 2012 16:51:08 -0400 Message-ID: <502D5D3A.7020706@redhat.com> Date: Thu, 16 Aug 2012 20:51:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sourceware.org Subject: Re: [RFA 3/3] c++/13356: Update documentation References: <502D54F9.2090909@redhat.com> <83d32qbm8x.fsf@gnu.org> In-Reply-To: <83d32qbm8x.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00465.txt.bz2 On 08/16/2012 01:44 PM, Eli Zaretskii wrote: >> Date: Thu, 16 Aug 2012 13:15:53 -0700 >> From: Keith Seitz >> >> +The second example fails because the integer constant @samp{0x1234} is not >> +type-compatible with the pointer parameter type. > > Why not? if the current language is C, I see no incompatibilities > here. What am I missing? That conversion is forbidden by C++. Perhaps I should have used a method call instead to make that more obvious? >> +When type checking is disabled, @value{GDBN} evaluates expressions >> +like the second example above. > > Should probably say "successfully evaluates". > Changed. >> +Set strict type checking on or off. If any type mismatches occur in > ^^ > Two spaces, please. Zoiks! Changed. > OK with those changes. Thank you! Keith