openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Compiling OpenEXR 1.0.4 with gcc 2.95


From: Lourens Veen
Subject: [Openexr-devel] Compiling OpenEXR 1.0.4 with gcc 2.95
Date: Fri, 7 Mar 2003 16:06:10 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just downloaded OpenEXR-1.0.4 and attempted to compile with gcc 
2.95.3 (I'm running Slackware 8.0). As noted in 
http://mail.gnu.org/archive/html/openexr-devel/2003-03/msg00011.html 
the OpenEXR package doesn't compile out of the box with gcc 2.95. I 
made these two small changes to fix that:

- --- ImfAttribute.h      Tue Jan 21 07:33:01 2003
+++ ImfAttribute.h.gcc-2.95     Fri Mar  7 16:04:13 2003
@@ -210,8 +210,6 @@
     // Register this attribute type
     //-----------------------------

- -    using Attribute::registerAttributeType;
- -
     static void                                
registerAttributeType ();


@@ -219,8 +217,6 @@
     // Un-register this attribute type (for debugging only)
     //-----------------------------------------------------

- -    using Attribute::unRegisterAttributeType;
- -
     static void                                 
unRegisterAttributeType ();


@@ -377,7 +373,7 @@
 inline void
 TypedAttribute<T>::registerAttributeType ()
 {
- -    registerAttributeType (staticTypeName(), makeNewAttribute);
+    Attribute::registerAttributeType (staticTypeName(), 
makeNewAttribute);
 }


@@ -385,7 +381,7 @@
 inline void
 TypedAttribute<T>::unRegisterAttributeType ()
 {
- -     unRegisterAttributeType (staticTypeName());
+     Attribute::unRegisterAttributeType (staticTypeName());
 }

I'm not familiar enough with the code to know for sure that this is 
correct, but exrdisplay seems to work fine with the sample images 
on the web site.

Lourens
- -- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+aLVwvmNyqZHWDvURAiMfAJ4r/4TtOyONHfXzbT2W1vTQHLMcJQCeI+fL
sDo/ZwU2kZIUJcTiPZr6ErE=
=rYqh
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]