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: Default warnings and useless extensions (e.g. arithmetic on void *)


On 2008-06-10 06:45:43 -0400, Tim Prince wrote:
> long long is an extension, if you don't specify -std=c99.

I know that. But I can't use -std=c99 because it doesn't work with
old gcc versions.

> You ask for warnings about extensions, you get them.

No, I'm not asking warnings about extensions. I'm asking warnings
about *useless* extensions, i.e. those for which a portable workaround
is possible, e.g. replace p + 1 by (char *) p + 1 when p is a void *.

> Why didn't you post this on gcc-help?

Because this is a feature request.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


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