Ice C++ Applications not building under (K)Ubuntu 12.10, 13.04 and 13.10

Bug #1067545 reported by Horrendus on 2012-10-16
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
zeroc-ice (Ubuntu)
Undecided
Unassigned

Bug Description

Ice 3.4.2 seems to have problems with gcc 4.7. cpp files created via slice2cpp can not be built using gcc 4.7
I've tried it with my own Ice application and also the "Hello" Demo including in the Ice 3.4.2 Demos: http://www.zeroc.com/download.html#demo

Compilation of automatically created cpp files fails with errors like this: /usr/include/Ice/Handle.h:66:13: error: ‘upCast’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

A patch for Ice 3.4.2 & gcc 4.7 is available here: http://www.zeroc.com/forums/patches/5647-patch-compiling-ice-clang-gcc4-7-a.html

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zeroc-ice (Ubuntu):
status: New → Confirmed
Peter Horvath (ejcspii) wrote :

This bug will prevent building the new gnuradio-3.7 release on Ubuntu 12.10 (the same problem with upCast), so a *lot* of people will be affected. Please fix it if possible.

Ben Hilburn (bhilburn) wrote :

It won't just prevent it on Ubuntu 12.10. I ended up at this bug because I tried to build gnuradio-3.7 on Ubuntu 13.04.

g0to (g0to) wrote :

Any workaround using the patch mentioned in the bug description?

Also confirming bug on 13.04.

summary: - Ice C++ Applications not building under (K)Ubuntu 12.10
+ Ice C++ Applications not building under (K)Ubuntu 12.10 (and 13.04)
Horrendus (stefan-derkits-net) wrote :

Also with gcc4.8 it is broken, a workaround would really be appreciated :)

summary: - Ice C++ Applications not building under (K)Ubuntu 12.10 (and 13.04)
+ Ice C++ Applications not building under (K)Ubuntu 12.10, 13.04 and 13.10
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers