Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
ohos-3.0.21
ohos_vlc
/
contrib
/
src
/
projectM
下载当前目录
M
Martin Storsjö
contrib: projectM: Force building with a specific older C++ version
3076009b
创建于
2022年9月13日
历史提交
文件
最后提交记录
最后更新时间
SHA512SUMS
Contribs: add projectM
14 年前
clang6.patch
contrib: projectM: Don't force building in C++98 mode Instead patch the project to fix the error that was clang gave when building in C+11 mode (which clang 6 does by default): Renderer/VideoEcho.cpp:77:30: error: non-constant-expression cannot be narrowed from type 'double' to 'float' in initializer list [-Wc++11-narrowing] float pointsFlip[4][2] = {{-0.5*flipx, -0.5*flipy}, (cherry picked from commit e2ea86d8a21d5ddf63f9263aec401f0f8556e671)
5 年前
gcc6.patch
Contribs: fix projetcM compilation with gcc6
9 年前
missing-includes.patch
contrib: projectM: Apply a patch to add missing includes of <functional> This source file in projectM uses std::bind2nd, which is declared in the <functional> header. Previously it relied on this header being included implicitly. libc++ recently stopped including <functional> transitively in <algorithm> in
https://github.com/llvm/llvm-project/commit/a83f4b9cda57c5b3d414ec3bcf9ac891b2ec27e1.
Upstream projectM stopped using std::bind2nd in this file in
https://github.com/projectM-visualizer/projectm/commit/10faca9abf4c879a63cdf426ddae338620baf238
- thus not trying to upstream the patch. (cherry picked from commit 3c181d46d74498f50fa0c18234010dda078ebe02)
3 年前
rules.mak
contrib: projectM: Force building with a specific older C++ version This project uses std::auto_ptr, which was deprecated in C++11, so stick to compiling in C++98 mode. (Either C++98, C++11 or C++14 would work.) This fixes building with newer compilers that default to C++17 if nothing is specified (which is the default since GCC 11 and Clang 16). When building with Clang/libc++ 16 in C++17 mode, it fails with errors like these: <build>/projectM/Renderer/RenderItemDistanceMetric.hpp:20:46: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'? class RenderItemDistanceMetric : public std::binary_function<const RenderItem*, const RenderItem*, double> { ~~~~~^~~~~~~~~~~~~~~ (The std::binary_function class is removed in C++17.) (cherry picked from commit 3e29d7f67991e60c8830e3a551419f7b8663f4b3) Signed-off-by: Martin Storsjö <martin@martin.st>
3 年前
win32.patch
contrib: projectM: Don't forcibly add -fPIC when targeting windows This fixes compilation with clang. (cherry picked from commit bfc7b3493e7651401625d873b9d05d050fc9c71b) Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
5 年前
win64.patch
contribs: projectM: fix win64 build
14 年前