Check into the archive; I'm not sure but I heard before something like this.

Regards



Alle 19:03, giovedì 8 marzo 2007, Simone ha scritto:
> Guys,
> i can be more precise on the error i get: the compiler says that for
> inderect calls the parameters (s and s->scriptptr) don't fit in registers.
> So i removed the second one and point to the scriptptr field with a local
> pointer inside the function, where the struct httpd_state is already
> pointed by the first parameter passed (s). Indirect calls with single
> parameter do not generates the compiler error.. ----- Original Message
> -----
>   From: Simone
>   To: uip-users@sics.se
>   Sent: Wednesday, March 07, 2007 10:12 PM
>   Subject: [uip-users] Script example in the webserver app (uip 1.0)
>
>
>   Hello,
>   in the http.c file there's this line of code but it seems to be wrong (it
> is, and the compiler generates an error!). Does anyone know which is the
> correct code? Simone
>
>    PT_WAIT_THREAD(&s->scriptpt,
>            httpd_cgi(s->scriptptr)(s, s->scriptptr));
>   the error seems to be here      ^^^^^^^^^^^^^^^^^

-- 
Fabio Giovagnini

Aurion s.r.l.
via degli orti 11,
40050 Funo di Argelato (BO)
Tel. +39.335.8350919
Fax +39.051.8659009

www.aurion-tech.com

account telefono VoIP skype (www.skype.com):
aurion.giovagnini

Reply via email to