bugOpenEXR - Bugs: bug #3198, Compile error when code use matrix...

 
 

bug #3198: Compile error when code use matrix template

Submitted by:  None
Submitted on:  Sat 12 Apr 2003 09:27:42 AM UTC  
 
Category: ImathSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 05 Jan 2004 10:02:36 AM UTC, comment #2:

We don't support gcc 3.0.2. Please try 3.0.4 or greater. If you cannot, let me know and I'll see what we can do.

Drew Hess <dhess>
Thu 15 May 2003 10:44:00 AM UTC, comment #1:

Try adding:

#define restrict __restrict

before you include the matrix header. It seems to have been renamed in recent gcc versions.

Dave Griffiths <nebogeo>
Sat 12 Apr 2003 09:27:42 AM UTC, original submission:

I am getting the follwing error when trying to compile code that use the matrix templates. I'm using GCC 3.0.2 on RH 7.3.

In file included from /usr/local/include/OpenEXR/ImfMatrixAttribute.h:48,
from render.cpp:32:
/usr/local/include/OpenEXR/ImathMatrix.h: In static member function `static
void Imath::Matrix44<T>::multiply(const Imath::Matrix44<T>&, const
Imath::Matrix44<T>&, Imath::Matrix44<T>&)':
/usr/local/include/OpenEXR/ImathMatrix.h:2354: parse error before `=' token
/usr/local/include/OpenEXR/ImathMatrix.h:2355: redeclaration of `const
T*restrict'
/usr/local/include/OpenEXR/ImathMatrix.h:2354: `const T*restrict' previously
declared here
/usr/local/include/OpenEXR/ImathMatrix.h:2355: parse error before `=' token
/usr/local/include/OpenEXR/ImathMatrix.h:2356: conflicting types for
`T*restrict'
/usr/local/include/OpenEXR/ImathMatrix.h:2355: previous declaration as `const
T*restrict'
/usr/local/include/OpenEXR/ImathMatrix.h:2356: parse error before `=' token

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 05 Jan 2004 10:02:36 AM UTCdhessStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1