[Bug middle-end/28958] Compiling vpnc with GCC 4.1 and anything other than -O0 causes failure to connect

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 6 04:54:00 GMT 2006



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-09-06 04:54 -------
(In reply to comment #7)
> Could this cause the bug if optimisations are enabled? I don't know anything
> about the vpnc source, I just uploaded the last two Ubuntu revisions.

It could as the memory layout will be different, why don't you try to use
sizeof(struct in_addr) instead of 4?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28958



More information about the Gcc-bugs mailing list