Red Hat Bugzilla – Bug 817684
building against ice requires -fpermissive
Last modified: 2012-06-25 20:40:08 EDT
Created attachment 581280 [details]
patches from arch linux
Description of problem:
Due to some missing use of 'this->' in ICE public headers, building code that uses ICE (and building ICE itself, for that matter) requires -fpermissive when using gcc 4.7.
Version-Release number of selected component (if applicable):
I've attached a patch containing a number of changes, including ones to fix this issue, taken from arch linux. (These are taken from 'ice-for-clang.patch' in http://aur.archlinux.org/packages/ze/zeroc-ice/zeroc-ice.tar.gz.) With these, ICE itself appears to build successfully without -fpermissive and to likewise be usable without the same.
ice-3.4.2-13.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ice-3.4.2-13.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
ice-3.4.2-14.fc17 has been submitted as an update for Fedora 17.
I'm still verifying, but I'm guessing the patch set in -14 is a superset of the patches here.
However, I would still suggest removing -fpermissive (which I see is still present) from ICE's build, at least as a validation measure.
ice-3.4.2-15.fc17 has been submitted as an update for Fedora 17.
ice-3.4.2-15.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.