[csw-maintainers] initialization problem: struct + union

Philip Brown phil at bolthole.com
Mon Jun 6 20:48:34 CEST 2011


On Sun, Jun 5, 2011 at 1:24 AM, James Lee <james at opencsw.org> wrote:
>
> $ cc test.c
> "test.c", line 16: warning: improper pointer/integer combination: op "="
> $ ./a.out
> snmp_timeout: 2
> snmp_message: time out exceeded
>
>

Thanks for following through all the way to a test case. I had
actually tried that type of mod, but I guess I overreacted when I saw
"improper pointer/integer combination"
and didnt notice it was only a "warning" :-}

real program (mbrowse) now compiles fine.


More information about the maintainers mailing list