Commits on Source (8)
-
C compilers can have GNU extensions to support typeof in C code, but some C++ compilers like clang are removing the builtin since decltype can be used in C++ without the constraints from typeof. Decltype is not 100% equivalent for this reason: references will be kept in the returned type. The check in m4/typeof.m4 comes from graydon/monotone and dovecot/core and was slightly modified to namespace the define for C++ code.
784c3245 -
Replace typeof by a decltype()-based equivalent on compilers not supporting typeof. Decltype is not equivalent to typeof, but we are mostly concerned about removing references from the type, since it has no use in C code like VLC list. Note that this fixup is there to fix the usage of headers using typeof in C++ code, not to provide "typeof" directly C++ to replace decltype.
bd8f233b -
63ec4f10
-
sed -i doesn't work correctly with non-GNU sed.
5401eadd -
A header previously transitively included has gone missing in the latest 5 releases and was only fixed from 6.x.
3f4721da -
24f8f0dd
-
10abb2ff
-
When building Qt, we only add and link the X11 library and flags when QT5_HAS_X11 is defined (in automake), which happens when we build Qt5X11Extras. Without this check, if autotools find the X11 library, then it might fail to find the headers (because X_CFLAGS won't be used) or will at least fail to link correct (because -lX11 will be missing from the link command). Since we don't use X11 on MacOSX, disable it by default in the configure script like Qt, so that enabling Qt module locally works correctly.
fb6704f3
Showing
- configure.ac 3 additions, 0 deletionsconfigure.ac
- contrib/src/qt/qt-add-missing-header-darwin.patch 28 additions, 0 deletionscontrib/src/qt/qt-add-missing-header-darwin.patch
- contrib/src/qt/rules.mak 14 additions, 6 deletionscontrib/src/qt/rules.mak
- extras/package/macosx/configure.sh 1 addition, 0 deletionsextras/package/macosx/configure.sh
- include/vlc_fixups.h 7 additions, 0 deletionsinclude/vlc_fixups.h
- m4/typeof.m4 20 additions, 0 deletionsm4/typeof.m4
- modules/gui/qt/qt.cpp 2 additions, 0 deletionsmodules/gui/qt/qt.cpp
m4/typeof.m4
0 → 100644