DSPRelated.com
Forums

"Errormsg.h"

Started by Unknown August 5, 2001
Hi!

I am Husnain and I am working on a TMS320C31 DSK...I am studying a
book by Rulph Chassaing which is about lab experiments on this
particulat DSK...In its third chapter there is a routine PCCOM.CPP
which includes several header files on of which is errormsg.h,while
compiling PCCOM.CPP,this particular header file gives an error "need
an identifier to declare",where after an enumeration there is no
identifier present...Now this file is written by Mr.Keith Larson who
I presume is a member of this group...I will be grateful if he or
some other member helps me in resolving this error.

Thanks in advance.

Regards.

Husnain.



Hello Husnain

Version 1.27 of the DSk code has not been posted to the TI ftp site yet, but
the easiest thing for me to do would be to send you the source files. This
is ~1.4 mbytes for just the source, another 1.4 mbytes for the EXE's and
~800k for the HTMLs. I dont want to (nor do I think I could) post it to
this newsgroup, so if you could verify your email address, I will forward it
to you. It would also help if you put your email addres in the message text
as our firewall sometimes mangles the address that I see in the header.

If I am not mistaken, this error results from a tighter programming
constraint that has been adopted in the latest ANSI C++ standard. In the
old days you did not need to put in the 'MSGS' identifier at the end of the
enumeration. The same is true for structure definitions.

typedef enum {
SRC_REG=1,
SRC_DIR,
||
FLOAT_UNDER,
QUIT
}MSGS;

Best regards,
Keith Larson
-------------------
At 04:51 PM 8/5/01 -0000, you wrote:
>Hi!
>
>I am Husnain and I am working on a TMS320C31 DSK...I am studying a
>book by Rulph Chassaing which is about lab experiments on this
>particulat DSK...In its third chapter there is a routine PCCOM.CPP
>which includes several header files on of which is errormsg.h,while
>compiling PCCOM.CPP,this particular header file gives an error "need
>an identifier to declare",where after an enumeration there is no
>identifier present...Now this file is written by Mr.Keith Larson who
>I presume is a member of this group...I will be grateful if he or
>some other member helps me in resolving this error.
>
>Thanks in advance.
>
>Regards.
>
>Husnain. >
>
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join: Send an email to
>
>To Post: Send an email to
>
>To Leave: Send an email to
>
>Archives: http://groups.yahoo.com/group/c3x
>
>More Groups: http://www.dsprelated.com >">http://docs.yahoo.com/info/terms/ >