[vlc-devel] Re: CVS Commit (sam)
Gildas Bazin
gbazin at netcourrier.com
Sat Dec 7 16:43:35 CET 2002
On Saturday 07 December 2002 16:37, Sam Hocevar wrote:
>
> I don't get any of these, which gcc version are you using? I agree
> those errors are pretty useless though. Maybe we should only activate it
> for gcc 2.x.
>
It does this at least with mingw32 (gcc version 3.2)
> > I really don't see what this flag adds anyway as there is no point in
> > supporting pre-standard C compilers.
>
> I found it useful because I didn't get any of the messages you are
> reporting and it helped me spotting typos like this:
>
> if(foo); { blah(); }
>
Maybe it is useful in this special case, but if you read the gcc
documentation for this flag, you'll realize that its purpose is to spot C
construct which aren't compatible with pre-standard C. Considering that
we're not even using strict ANSI C anymore, I find this pretty
useless/annoying.
--
Gildas
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list