Re: [cc65] Anther "compile contiki" problem

From: Groepaz <groepaz1gmx.net>
Date: 2004-07-29 10:49:56
On Thursday 29 July 2004 10:46, Ullrich von Bassewitz wrote:
> 
> On Thu, Jul 29, 2004 at 10:20:58AM +0200, Thomas Linke wrote:
> > After the two problems I found here (ca65 bug and the problem with .segment)
> > I have a third problem.
> >
> > Apps/httpd.c(166): Error: Pointer types differ in type qualifiers
> 
> I've posted a note about this in the contiki mailing list some weeks ago. The
> old compiler contained an error that made it more or less ignore the volatile
> qualifier when comparing types. Contiki contains declarations that were
> problematic, and the problem wasn't noticed because the compiler didn't
> complain. The new (= current snapshot) compiler handles the qualifier as it
> should (at least when comparing types), and flags the Contiki code as
> errorneous.
> 
> If I understood Adam correctly, the solution is to remove the volatile
> qualifier from the declaration of uip_appdata. This change should be in CVS
> already. If you want to be sure, search the contiki-developers mailing list
> archive for the thread, or check back with Adam.

quick fix is to just throw a "#define volatile" into the cc_arch.h (or whatever
it was) of the platform you are trying to build.

gpz
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jul 29 10:50:19 2004

This archive was generated by hypermail 2.1.8 : 2004-07-29 10:50:27 CEST