This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gettext should not be a builtin


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@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]