[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stat-time.h vs. -Waggregate-return
From: |
Bruno Haible |
Subject: |
Re: stat-time.h vs. -Waggregate-return |
Date: |
Fri, 03 Aug 2012 11:26:36 +0200 |
User-agent: |
KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; ) |
Paul Eggert wrote:
> disable -Waggregate-return. It a completely
> anachronistic warning, since its motivation was to
> support backwards compatibility with C compilers that
> did not allow returning structures. Those compilers
> are long dead and are no longer of practical concern.
I agree 100%. In fact, there are some more kinds of warnings with
limited usefulness. We had a long thread about it in Nov./Dec. 2008 [1].
Bruno
[1] http://lists.gnu.org/archive/html/bug-gnulib/2008-12/msg00046.html