[FFmpeg-devel] [RFC] extern "C" usage

Rich Felker dalias
Sun May 13 21:25:01 CEST 2007


On Sun, May 13, 2007 at 08:44:35PM +0300, Ismail D?nmez wrote:
> On Sunday 13 May 2007 20:37:19 Michael Niedermayer wrote:
> [...]
> > > > I agree strongly with emoving them but I suspect this is
> > > > controversial. C++ users do not like being reminded that using C
> > > > libraries is a form of FFI and not native C++
> > >
> > > But we never cared about C++ users, did we?  If I'm mistaken, and we
> > > do, it's about time we stopped.  I propose using a few C++ keywords
> > > like new or class in the headers too.  That should teach them.
> >
> > besides the "BOFH because we can" attitude what would we gain by
> > adding new and class with the intent to break C++ applications?
> 
> C++ applications are already broken with the usage of INT64_C macro.

Is there any reason this is used in the headers? Normally just writing
the number by itself, or with (int64_t) cast, is just fine...

Rich




More information about the ffmpeg-devel mailing list