This is the mail archive of the gcc-help@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: Why does gcc allow implicit conversion from const T* to T* (in C)?


Sebastian Mach <phresnel@googlemail.com> writes:

> A member at the site gamedev.net came up with the question why the
> following only gives a warning, even with -Wall -Wextra -std=c99
> -pedantic:

I think you are looking for -pedantic-errors.

Ian


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