https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425

Yongwei Wu <wuyongwei at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wuyongwei at gmail dot com

--- Comment #30 from Yongwei Wu <wuyongwei at gmail dot com> ---
I encountered this problem too. I'd say I would prefer

(void)some_system_function_that_warns(...);

to

int ignored __attribute__((unused));
ignored = some_system_function_that_warns(...);

The latter is not only verbose, but also creating portability issues. Should I
also define macros for compilers that do not support __attribute__? It is
extremely messy!

Reply via email to