Skip to content
Snippets Groups Projects
Verified Commit 8985cce6 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Update CFLAGS for clang

Remove no-cast-function-type and add missing-field-intializers as
Python's C functions requires a {NULL} value in the member definition.

Closes: #19
parent c35beb36
No related branches found
No related tags found
1 merge request!9Update CFLAGS for clang
Pipeline #9274 passed
......@@ -11,7 +11,8 @@ pyalpm_version = '0.10.5'
cflags = ['-Wall', '-Wextra', '-Werror',
'-Wno-unused-parameter', '-Wno-incompatible-pointer-types',
'-Wno-cast-function-type', '-std=c99', '-D_FILE_OFFSET_BITS=64']
'-Wno-error=missing-field-initializers',
'-std=c99', '-D_FILE_OFFSET_BITS=64']
alpm = Extension('pyalpm',
**libalpm,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment