Bug#499683: libavcodec-dev: libavcodec.h does not contain C++ detection
Jon Thackray
jgt at pobox.com
Sun Sep 21 09:59:13 UTC 2008
Package: libavcodec-dev
Version: 0.svn20080206-12
Severity: important
When including avcodec.h in C++ source (and also avutils.h and
swscale.h), the compiler mangles the names. This then causes link
failures because the corresponding libraries have unmangled names. The
code that is missing is
#ifdef __cplusplus
extern "C" {
#endif
at the start of the file (just after the multiple inclusion guard) and
the corresponding
#ifdef __cplusplus
}
#endif
at the end of the file.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libavcodec-dev depends on:
ii libavcodec51 0.svn20080206-12 ffmpeg codec library
ii libavutil-dev 0.svn20080206-12 development files for libavutil
ii libdc1394-22-dev 2.0.2-1 high level programming interface f
ii libgsm1-dev 1.0.12-1 Development libraries for a GSM sp
ii libogg-dev 1.1.3-4 Ogg Bitstream Library Development
ii libraw1394-dev 1.3.0-4 library for direct access to IEEE
ii libtheora-dev 1.0~beta3-1 The Theora Video Compression Codec
ii libvorbis-dev 1.2.0.dfsg-3.1 The Vorbis General Audio Compressi
ii zlib1g-dev 1:1.2.3.3.dfsg-12 compression library - development
libavcodec-dev recommends no packages.
libavcodec-dev suggests no packages.
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list