[Ffmpeg-devel] [PATCH] rtp.h warning
Rich Felker
dalias
Fri Mar 23 02:51:23 CET 2007
On Fri, Mar 23, 2007 at 12:02:44AM +0000, M?ns Rullg?rd wrote:
> Glenn Maynard <glenn at zewt.org> writes:
>
> > On Thu, Mar 22, 2007 at 06:00:31PM -0500, Rich Felker wrote:
> >> Threadsafety is a direct result of not using global variables, which
> >> are already inappropriate for a library to use. I don't see what C++
> >> has to do with portability (in fact the two are usually mutually
> >> exclusive..).
> >
> > C++ compatibility is just as important to many people as threadsafety
> > and portability. Clearly, not to Mans (and if memory serves, not to you,
> > either), just as portability isn't important to people programming MFC
> > applications in Windows--but it is to many, and it's very easy to make
> > it work, unlike, say, Ada bindings.
>
> Can't we just add a few C++ reserved words to our headers and end the
> discussion?
I always enjoy using the name "class" for a struct member when it's
appropriate. Also things like void *private; make sense.. :)
Rich
More information about the ffmpeg-devel
mailing list