Discussion Forum

Inconsistent error output

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Max Power
Posted
21-Jan-2003 06:42 GMT
Toolset
C51
New! Inconsistent error output
From uv2

..\SRC\file.asm(167): error A9: SYNTAX ERROR

Note the file name as well as line number...informative.


From command line invocation of A51

ASSEMBLY COMPLETE. 0 WARNING(S), 1 ERROR(S)


No line number, much less a file name.

Is there any switch I can give a51.exe to produce a more informative error output?

TIA
Read-Only
Author
Andrew Neil
Posted
21-Jan-2003 10:41 GMT
Toolset
C51
New! RE: Inconsistent error output
Are you sure that you are giving exactly the same set of options in each case?

Maybe the command line puts the actual message into the listing file?
Does the manual have anything to say on this?
Read-Only
Author
Max Power
Posted
21-Jan-2003 20:20 GMT
Toolset
C51
New! RE: Inconsistent error output
Are you sure that you are giving exactly the same set of options in each case?

I'm sure.

Maybe the command line puts the actual message into the listing file?
Does the manual have anything to say on this?


I couldn't find any reference as to why the file and line numbers are only contained in the .lst file and not echoed to the console when invoking a51 directly....hence my question on this forum.
Read-Only
Author
Max Power
Posted
22-Jan-2003 01:04 GMT
Toolset
C51
New! RE: Inconsistent error output
errorprint

I now have inner peace.

Next Thread | Thread List | Previous Thread Start a Thread | Settings