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

Bug #1067545 reported by Horrendus
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
zeroc-ice (Ubuntu)
Confirmed
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

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in zeroc-ice (Ubuntu):
status: New → Confirmed
Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
g0to (g0to) wrote :

Any workaround using the patch mentioned in the bug description?

Revision history for this message
Nick (bistromath) wrote : Re: Ice C++ Applications not building under (K)Ubuntu 12.10 (and 13.04)

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)
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.