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: Extension compatibility policy


Marc Espie <espie@quatramaran.ens.fr> wrote:

> Personally, I would even say that it would be *great* if gcc would
> start warning if you use any extension, unless you explicitly disable
> those warnings... (except for __extension__ in header files, and then
> I've stumbled upon situations where it hurts still).


That is *exactly* what -pedantic is meant to be. If it does not, patches are
welcome.

Giovanni Bajo


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