Re: IN6_IS_ADDR_* macros use invalid type punning?

2013-06-06 Thread Matthias Andree
Am 07.06.2013 01:29, schrieb Maxim Dounin: > [...] > >> try.c:9:5: warning: dereferencing type-punned pointer will break >> strict-aliasing rules [-Wstrict-aliasing] >> int r = IN6_IS_ADDR_V4MAPPED((&sin6.sin6_addr)); >> ^ >> try.c:9:5: warning: dereferencing type-punned pointer will br

Re: IN6_IS_ADDR_* macros use invalid type punning?

2013-06-06 Thread Maxim Dounin
Hello! On Thu, Jun 06, 2013 at 10:23:30PM +0200, Matthias Andree wrote: > I am just staring at gcc 4.8 warnings when compiling the try.c code > shown below: [...] > try.c:9:5: warning: dereferencing type-punned pointer will break > strict-aliasing rules [-Wstrict-aliasing] > int r = IN6_IS

IN6_IS_ADDR_* macros use invalid type punning?

2013-06-06 Thread Matthias Andree
-- NOTE -- Please Cc: me on replies, I am not subscribed to freebsd-net. Greetings, I am just staring at gcc 4.8 warnings when compiling the try.c code shown below: $ cat try.c #include #include #include #include int f(void)

Re: kern/179264: [vimage] [pf] Core dump with Packet filter and VIMAGE options compile in a kernel

2013-06-06 Thread glebius
Synopsis: [vimage] [pf] Core dump with Packet filter and VIMAGE options compile in a kernel State-Changed-From-To: open->analyzed State-Changed-By: glebius State-Changed-When: Thu Jun 6 14:52:13 UTC 2013 State-Changed-Why: There is work in progress in this area: http://lists.freebsd.org/piperma