[csw-maintainers] Error: Ambiguous "?:" expression

Roger Håkansson hson at opencsw.org
Wed Mar 10 21:55:55 CET 2010


On 2010-03-10 18:22, Philip Brown wrote:
>
> "else 0" ???  that's just freakin wierd.

Tell me about it...


> perhaps if you changed that to
>
> else return(NULL)

Nope, won't work, then CC complains that "int can't be cast to tpoint".
That's why I added "return tpoint(0,0)", tpoint(0,0) is what the constructor 
for tpoint class returns.


More information about the maintainers mailing list