bugFreePOOMA - Bugs: bug #13987, Array.h: call of undefined...

 
 

bug #13987: Array.h: call of undefined function 'first(int)' in Engine_t

Submitted by:  None
Submitted on:  Sat 30 Jul 2005 10:32:04 PM UTC  
 
Category: Library defectSeverity: 3 - Normal
Status: NoneAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 30 Jul 2005 10:32:04 PM UTC, original submission:

I get compile errors of the form

/scratch/local/hermann/freepooma-2.4.1/linux/src/Array/Array.h:2011: error: `first' undeclared (first use this function)

using gcc-3.3.5 and release freepooma 2.4.1. (no fix in CVS, AFAIKS)

solution:

--- src/Array/Array.h.orig 2004-11-04 15:15:58.000000000 +0100
+++ src/Array/Array.h 2005-07-31 00:15:29.000000000 +0200
@@ -2008,7 +2008,7 @@
PInsist2(d >= 0 && d < Dim,
"Array<%d,...>::first() bounds error, index = %d.", Dim, d);
#endif
- return engine_m.first(d);
+ return engine_m.domain()[d].first();
}

inline int last(int d) const

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):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1