This is the mail archive of the gcc-patches@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: [PATCH] Add warn_unused_result attribute


Jakub Jelinek <jakub@redhat.com> writes:

| +	      warning ("%H\
| +ignoring return value of `%D', declared with attribute warn_unused_result",

I'd suggest you write the above as
  
   	      warning ("%Hignoring return value of `%D', declared with "
                       "attribute warn_unused_result",
   		       &expr_wfl_stack->location,
   		       BLOCK_ABSTRACT_ORIGIN (SCOPE_STMT_BLOCK (scope)));

-- Gaby


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