pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48053: multimedia/vlc only compiles with clang
>Number: 48053
>Category: pkg
>Synopsis: multimedia/vlc doesn't compile with gcc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 15 09:00:00 +0000 2013
>Originator: Patrick Welche
>Release: NetBSD 6.99.23/amd64
>Organization:
>Environment:
gcc version 4.5.4 (NetBSD nb1 20120916)
>Description:
According to
http://mail-index.netbsd.org/pkgsrc-bulk/2013/07/13/msg009818.html
multimedia/vlc compiles successfully with clang, but with the gcc
in -current, compilation fails with:
CXX libmkv_plugin_la-matroska_segment.lo
In file included from /usr/include/g++/clocale:44:0,
from /usr/include/g++/bits/c++locale.h:42,
from /usr/include/g++/bits/localefwd.h:42,
from /usr/include/g++/ios:42,
from /usr/include/g++/ostream:40,
from /usr/include/g++/iostream:40,
from mkv.hpp:59,
from util.hpp:26,
from util.cpp:25:
../../../include/vlc_fixups.h:192:20: error: previous declaration of 'void freel
ocale(_locale*)' with 'C++' linkage
/usr/include/locale.h:105:26: error: conflicts with new declaration with 'C' lin
kage
../../../include/vlc_fixups.h:196:24: error: previous declaration of '_locale* n
ewlocale(int, const char*, _locale*)' with 'C++' linkage
/usr/include/locale.h:107:47: error: conflicts with new declaration with 'C' lin
kage
>How-To-Repeat:
Build multimedia/vlc with gcc. vlc2 has its own PRs, so isn't a workaround.
>Fix:
Home |
Main Index |
Thread Index |
Old Index