Bug#499683: libavcodec-dev: libavcodec.h does not contain C++ detection

Loïc Minier lool at dooz.org
Mon Sep 22 08:59:28 UTC 2008


On Sun, Sep 21, 2008, Reinhard Tartler wrote:
> Why don't you include this in the file that is including ffmpeg's
> headers?

 Check "grep G_BEGIN /usr/include/g* -rl | wc -l" if you have some
 gtk/gnome libs installed, or "grep 'extern "C"' /usr/include -r | wc
 -l" if you don't; on my system, hundreds of headers have such a
 statement.

 It's quite easy to have the standard C++ boilerplate and makes the life
 of C++ people much easier; C++ being a superset of C, I think we should
 aim at making it seamless to use C or C++.


 However, as this affects the way in which people would write source
 code for ffmpeg (Debian's or upstream's), I think we should bring it
 up upstream.

-- 
Loïc Minier





More information about the pkg-multimedia-maintainers mailing list