On 05/28/18 at 03:25pm, Chih-Hsuan Yen via arch-projects wrote:
> This fixes building with GCC 8
> ---
>  setup.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/setup.py b/setup.py
> index 887b7a1..ba3ae2a 100644
> --- a/setup.py
> +++ b/setup.py
> @@ -9,7 +9,7 @@ os.putenv('LC_CTYPE', 'en_US.UTF-8')
>  pyalpm_version = '0.8'
>  
>  cflags = ['-Wall', '-Wextra', '-Werror',
> -    '-Wno-unused-parameter',
> +    '-Wno-unused-parameter', '-Wno-cast-function-type',
>      '-std=c99', '-D_FILE_OFFSET_BITS=64']
>  
>  alpm = Extension('pyalpm',
> -- 
> 2.17.0

Sorry, I've already fixed this in master before I was aware of this
patch.

-- 
Jelle van der Waa

Attachment: signature.asc
Description: PGP signature

Reply via email to