Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654974

Summary: media-gfx/darktable-9999 with GCC 8.1 - .../work/darktable-9999/src/bauhaus/bauhaus.h:37:32: error: unnecessary parentheses in declaration of 'dt_bh_get_type' [-Werror=parentheses]
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patched ebuild

Description Helmut Jarausch 2018-05-05 14:49:46 UTC
Created attachment 529954 [details]
patched ebuild

With gcc-8.1 one gets the error

/var/tmp/portage/media-gfx/darktable-9999/work/darktable-9999/src/bauhaus/bauhaus.h:37:32: error: unnecessary parentheses in declaration of 'dt_bh_get_type' [-Werror=parentheses]
 #define DT_BAUHAUS_WIDGET_TYPE (dt_bh_get_type())

Furthermore (independent of gcc) USE=doc doesn't work - there is no such pdf file
Comment 1 Markus Meier gentoo-dev 2018-05-08 18:57:02 UTC
Please report the gcc issue upstream, I guess this makes more sense for the live ebuild. Thanks in advance!