DSPRelated.com
Forums

compiler error

Started by simha j September 24, 2001
Hello all, If I compile the g.723.1 c code (from ITU) on C55x
CCS
I am getting an error of:

"fatal error: Comiler not Tested: typedef.h needs to
be
updated"

In this code there is a file called typedef.h which
contains
a ' #ifdef...' statement which defines a range of
comilers on which
this code can be compiled.
For eg. 'gcc' is not defined in this, so if use gcc I
will get
the above error.

compilers like bcc, highc,watcomc etc are defined.

So what I should do in order to make my code running
on C55x CCS cross compiler.

please reply as soon as possible.

Thanks




> Date: Sun, 23 Sep 2001 21:11:05 -0700 (PDT)
> From: simha j <>
>
> If I compile the g.723.1 c code (from ITU) on C55x
> CCS I am getting an error of:
>
> "fatal error: Comiler not Tested: typedef.h needs to
> be updated"
>
> So what I should do in order to make my code running
> on C55x CCS cross compiler.
>

I would suggest to update (i.e. edit) the typedef.h exactly
as ITU error pragma recommends. It can be done either by
commenting out the pragma with #if 0/#endif or adding a
C55x macro variable that would invalidate the error pragma.
I never saw this include file, so possibly you may want to use
something different, like plain comments /* */ to get rid of
the error.

Submit to ITU a report that the C55x compiler is tested. :)
I think that it was pretty much stupid to use error pragma
for untested compilers instead of issuing a warning.

Regards,
Andrew

-------------------
Andrew V. Nesterov,

e-mail:
phone: +7-812-247-9356
fax: +7-812-247-1017

Holography and Optoelectronics Laboratory
Ioffe Physical Technical Institute,
26 Politechnicheskaya Street,
194021 St.Petersburg, RUSSIA
-------------------