delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/07/02/05:42:45

Date: Wed, 2 Jul 2003 10:23:52 +0100 (BST)
From: "Joseph S. Myers" <jsm28 AT cam DOT ac DOT uk>
X-X-Sender: jsm28 AT kern DOT srcf DOT societies DOT cam DOT ac DOT uk
To: Andris Pavenis <pavenis AT latnet DOT lv>
cc: DJ Delorie <dj AT redhat DOT com>, djgpp-workers AT delorie DOT com, gcc AT gcc DOT gnu DOT org
Subject: Re: gettext should not be a builtin
In-Reply-To: <200307020955.09871.pavenis@latnet.lv>
Message-ID: <Pine.LNX.4.56.0307021022520.9726@kern.srcf.societies.cam.ac.uk>
References: <200307011438 DOT h61Ecgj08214 AT greed DOT delorie DOT com>
<200307011850 DOT h61IoUR12534 AT greed DOT delorie DOT com>
<Pine DOT LNX DOT 4 DOT 56 DOT 0307011951230 DOT 26914 AT kern DOT srcf DOT societies DOT cam DOT ac DOT uk>
<200307020955 DOT 09871 DOT pavenis AT latnet DOT lv>
MIME-Version: 1.0
Sender: Joseph Myers <jsm28 AT srcf DOT ucam DOT org>
X-Cam-ScannerAdmin: mail-scanner-support AT ucs DOT cam DOT ac DOT uk
X-Cam-AntiVirus: Not scanned
X-Cam-SpamDetails:
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 2 Jul 2003, Andris Pavenis wrote:

> Did You mean this?

> -	      error ("nonnull argument references non-pointer operand (arg %lu, operand %lu)",
> -		   (unsigned long) attr_arg_num, (unsigned long) arg_num);
> +              if (!(flags & (int) ATTR_FLAG_BUILT_IN))
> +  	          error ("nonnull argument references non-pointer operand (arg %lu, operand %lu)",
> +		       (unsigned long) attr_arg_num, (unsigned long) arg_num);

Yes; and the other errors should also be handled the same way.

-- 
Joseph S. Myers
jsm28 AT cam DOT ac DOT uk

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019