Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Harfbuzz
提交
97f67a3c
T
Third Party Harfbuzz
项目概览
OpenHarmony
/
Third Party Harfbuzz
1 年多 前同步成功
通知
0
Star
18
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Harfbuzz
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
97f67a3c
编写于
1月 04, 2019
作者:
E
Ebrahim Byagowi
提交者:
GitHub
1月 04, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ci] Enable more of GCC compile warnings (#1533)
上级
ad954870
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
10 deletion
+10
-10
.circleci/config.yml
.circleci/config.yml
+8
-8
src/hb-gobject-structs.cc
src/hb-gobject-structs.cc
+2
-2
未找到文件。
.circleci/config.yml
浏览文件 @
97f67a3c
...
...
@@ -81,7 +81,7 @@ jobs:
-
run
:
make -j32
-
run
:
make check || .ci/fail.sh
archlinux-
debug-O0-py3
:
archlinux-
py3-all
:
docker
:
-
image
:
base/devel
steps
:
...
...
@@ -90,9 +90,9 @@ jobs:
-
run
:
pip install flake8 fonttools
-
run
:
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# C??FLAGS are not needed for a regular build
-
run
:
CFLAGS="-
O0" CXXFLAGS="-O0" CPPFLAGS="-DHB_DEBUG
" ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
-
run
:
make -j32
-
run
:
make check || .ci/fail.sh
-
run
:
CFLAGS="-
Wall -Wextra -Wno-cast-function-type" CXXFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-class-memaccess -Wpedantic -Wno-format -Wno-cast-function-type
" ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
-
run
:
make -j32
CPPFLAGS="-Werror"
-
run
:
make check
CPPFLAGS="-Werror"
|| .ci/fail.sh
clang-O3-O0
:
docker
:
...
...
@@ -208,13 +208,13 @@ jobs:
-
run
:
make -j32
-
run
:
make check || .ci/fail.sh | asan_symbolize | c++filt
fedora-outoftreebuild
:
fedora-
O0-debug-
outoftreebuild
:
docker
:
-
image
:
fedora
steps
:
-
checkout
-
run
:
dnf install -y pkg-config ragel gcc gcc-c++ automake autoconf libtool make which glib2-devel freetype-devel cairo-devel libicu-devel gobject-introspection-devel graphite2-devel redhat-rpm-config python ||
true
-
run
:
NOCONFIGURE=1 ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
-
run
:
CFLAGS="-O0" CXXFLAGS="-O0" CPPFLAGS="-DHB_DEBUG"
NOCONFIGURE=1 ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
-
run
:
mkdir build && cd build && ../configure && make && (make check || ../.ci/fail.sh)
cmake-gcc
:
...
...
@@ -331,7 +331,7 @@ workflows:
# autotools based builds
-
alpine-O3-NOMMAP
-
archlinux-
debug-O0-py3
-
archlinux-
py3-all
-
gcc-valgrind
-
clang-O3-O0
-
clang-everything
...
...
@@ -339,7 +339,7 @@ workflows:
-
clang-msan
-
clang-tsan
-
clang-ubsan
-
fedora-outoftreebuild
-
fedora-
O0-debug-
outoftreebuild
# cmake based builds
-
cmake-gcc
...
...
src/hb-gobject-structs.cc
浏览文件 @
97f67a3c
...
...
@@ -64,7 +64,7 @@ hb_gobject_##name##_get_type () \
}
#define HB_DEFINE_OBJECT_TYPE(name) \
HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
;
HB_DEFINE_BOXED_TYPE (name, hb_##name##_reference, hb_##name##_destroy)
#define HB_DEFINE_VALUE_TYPE(name) \
static hb_##name##_t *_hb_##name##_reference (const hb_##name##_t *l) \
...
...
@@ -75,7 +75,7 @@ hb_gobject_##name##_get_type () \
return c; \
} \
static void _hb_##name##_destroy (hb_##name##_t *l) { free (l); } \
HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
;
HB_DEFINE_BOXED_TYPE (name, _hb_##name##_reference, _hb_##name##_destroy)
HB_DEFINE_OBJECT_TYPE
(
buffer
)
HB_DEFINE_OBJECT_TYPE
(
blob
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录