Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655934 - app-office/gnucash-3.1 - In file included from .../work/gnucash-3.1/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:36: /usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: error: unnecessary parentheses in declaration of ‘__gtk_reserved1’
Summary: app-office/gnucash-3.1 - In file included from .../work/gnucash-3.1/gnucash/i...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-17 04:55 UTC by rnddim
Modified: 2018-09-21 16:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=app-office/gnucash-3.1::gentoo' (file_655934.txt,6.60 KB, text/plain)
2018-05-17 04:55 UTC, rnddim
Details
build.log (build.log,945.39 KB, text/plain)
2018-05-17 04:56 UTC, rnddim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rnddim 2018-05-17 04:55:01 UTC
Created attachment 531878 [details]
emerge --info '=app-office/gnucash-3.1::gentoo'

While trying to compile with gcc-8.1.0, it fails due to unnecessary parentheses:

In file included from /usr/include/gtk-3.0/gtk/gtk.h:100,
                 from /var/tmp/portage/app-office/gnucash-3.1/work/gnucash-3.1/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:36:
/usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: error: unnecessary parentheses in declaration of ‘__gtk_reserved1’ [-Werror=parentheses]
   void (*__gtk_reserved1);
        ^
/usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: error: unnecessary parentheses in declaration of ‘__gtk_reserved2’ [-Werror=parentheses]
   void (*__gtk_reserved2);
        ^
/usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: error: unnecessary parentheses in declaration of ‘__gtk_reserved3’ [-Werror=parentheses]
   void (*__gtk_reserved3);
        ^
/usr/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: error: unnecessary parentheses in declaration of ‘__gtk_reserved4’ [-Werror=parentheses]
   void (*__gtk_reserved4);
        ^

This appears to be a problem with gtk, as they have noticed and fixed the problem here ( https://gitlab.gnome.org/GNOME/gtk/issues/1059 ). I'm reporting this as a gnucash bug since that's the package that specifically failed for me. This might also want to be a bug for the gcc-8 porting tracker.
Comment 1 rnddim 2018-05-17 04:56:17 UTC
Created attachment 531880 [details]
build.log
Comment 2 Aaron W. Swenson gentoo-dev 2018-08-19 21:05:57 UTC
Does this still occur with 3.2?