Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Interesting Compile Error....
Topic Summary:
Created On: 24-Aug-2004 17:13
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Hugh Johnson, on Wednesday, August 25, 2004 9:07 AM

Answer:
You're right paul it was an error in one of the included files, all though i'd be impressed if you could have an error in such a simple bit of code as the main DXL file shown in the photo.

Eventually the error turned out to be that a for loop was formatted wrong, I'd written:-

for(ax=0;ax<TheLimit,ax++) etc.

Spot the mistake!!

Ah well must have been a friday afternoon :-)

hugh
 24-Aug-2004 17:13
User is offline View Users Profile Print this message


Hugh Johnson

Posts: 27
Joined: 5-Aug-2004

6000 Lines of code and it moans about a line that doesn't exist ?!?!?!?

This is just wierd, has anyone come across this before? (see attached)

Hugh

PS While I'm on the subject does anyone know what the -I- or -R- etc. at the start of the error message means?


-------------------------
Hugh Johnson

Westland Helicopters Ltd.
myurl
Report this to a Moderator Report this to a Moderator
 24-Aug-2004 19:24
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

With my experience w/DXL I often find that I can not trust DXL errors that give a line number because sometimes they are way off!!! What you should do is do a global search on a "for" loop in all your files to determine where the bug is.

Sorry, I have no idea what "I" or "R" mean.

-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 25-Aug-2004 08:43
User is offline View Users Profile Print this message


Paul Tiplady

Posts: 176
Joined: 28-Oct-2003

I find that error messages that state a line number but not the file name usually refer to included files -- but I've never seen line 0 referenced before.

A couple of questions that occur to me, which might possibly help point you at somewhere to look: Do you run this from the Edit DXL window as shown? Could it be the debugger/interpreter that's got an error (maybe it uses DXL, which it interprets, to step through the lines it has to execute...)? Just guessing...

-------------------------


Paul dot Tiplady at TRW dot com
TRW Automotive
Report this to a Moderator Report this to a Moderator
 25-Aug-2004 09:07
User is offline View Users Profile Print this message


Hugh Johnson

Posts: 27
Joined: 5-Aug-2004

Answer Answer
You're right paul it was an error in one of the included files, all though i'd be impressed if you could have an error in such a simple bit of code as the main DXL file shown in the photo.

Eventually the error turned out to be that a for loop was formatted wrong, I'd written:-

for(ax=0;ax<TheLimit,ax++) etc.

Spot the mistake!!

Ah well must have been a friday afternoon :-)

hugh

-------------------------
Hugh Johnson

Westland Helicopters Ltd.
myurl
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.