#76 UG doesn't compile with g++-4.0 on 64bit machines
Metadata
Property | Value |
---|---|
Reported by | Oliver Sander (oliver.sander@tu-dresden.de) |
Reported at | Jan 13, 2006 10:58 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Unspecified / All |
Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Last edited at | Oct 18, 2006 07:55 |
Closed by | Oliver Sander (oliver.sander@tu-dresden.de) |
Closed at | Nov 10, 2006 10:27 |
Closed in version | 1.0 |
Resolution | Fixed |
Comment | There has been no reaction at all, and people keep running into this problem. |
So I applied Martin's patch anyways, in revision 1.27. |
Description
The UG library doesn't compile with g++-4.0 on 64bit machines. The problem is in the file ugpfm.c, where void pointers are casted onto int several times.
The file in question is not actually needed for Dune. But I'd rather repair it correctly than introduce yet another hack around this issue. In fact, I'd gladly repair it myself if only I were able to understand what exactly ugpfm is doing!