[Pyrex] error: conversion to non-scalar type requested

Daniele Pianu muogoro at gmail.com
Fri Apr 11 09:11:48 CEST 2008


I've tried your fix now and all works well!!! :) Thanks for your help!!!!

2008/4/11, Greg Ewing <greg.ewing at canterbury.ac.nz>:
>
> Daniele Pianu wrote:
>
>  tmp = <in_addr>tmpinPtr[0]
> >
> > error: conversion to non-scalar type requested
> >
>
> You could try
>
>  tmp = (<in_addr *>tmpinPtr)[0]
>
> --
> Greg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.copyleft.no/pipermail/pyrex/attachments/20080411/23f84d40/attachment.html 


More information about the Pyrex mailing list