Re: [cc65] Anther "compile contiki" problem

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-07-29 10:46:56
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.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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:46:59 2004

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