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


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

Submitter:  None
Submitted:  Sat 30 Jul 2005 10:32:04 PM UTC
Category:  Library defect Severity:  3 - Normal
Status:  None Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

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)


--- 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);
-      return engine_m.first(d);
+      return engine_m.domain()[d].first();

   inline int last(int d) const



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.12