View Issue Details

IDProjectCategoryView StatusLast Update
0000119ascendbuild-systempublic2009-05-01 17:58
Reporterjohn 
Assigned Tojohn 
PrioritylowSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version 
Target Version1.0Fixed in Version 
Summary0000119: Error codes confusing (in Asc_OpenModule)
DescriptionIn ModuleSearchPath, the function returns -3 if the ascend path environment var is not found. This confuses the error codes from Asc_OpenModule, which has -3 as an error code out-of-memory.

Suggest that a global error code header file is used rather than local error codes function-by-function, since these error codes are being cascaded in cases like this.
Additional InformationFor example,

#ifndef ERRORCODES_H
#define ERRORCODES_H

typedef enum{
  ASC_MEMORY_ERROR=-3
  ,ASC_SYNTAX_ERROR=-5
  ,...
} ErrorCode

#endif
TagsNo tags attached.

Relationships

Activities

john

2005-11-02 11:58

administrator   ~0000024

Solution in this case was a missing call to Asc_CompilerInit()

john

2006-05-24 05:43

administrator   ~0000347

Moving to next release, changing to low priority.

Issue History

Date Modified Username Field Change
2005-11-01 11:06 john New Issue
2005-11-02 11:58 john Note Added: 0000024
2006-02-07 13:19 john Target release => 1.0
2006-02-07 13:23 john Target release 1.0 => 0.9.6
2006-05-24 05:43 john Target release 0.9.6 => 1.0
2006-05-24 05:43 john Note Added: 0000347
2006-05-24 05:43 john Priority normal => low
2008-02-10 17:58 john Status new => assigned
2008-02-10 17:58 john Assigned To => john
2009-05-01 16:52 john Target Version => 0.9.7
2009-05-01 17:58 john Target Version 0.9.7 => 1.0