Strict aliasing prohibits writing to union members of one type, then reading another type. The read is undefined. Use memcpy instead (which compilers will hopefully optimize away...) |
||
|---|---|---|
| .. | ||
| capn-list.inc | ||
| capn-malloc.c | ||
| capn-stream.c | ||
| capn.c | ||
| capnp_c.h | ||
Strict aliasing prohibits writing to union members of one type, then reading another type. The read is undefined. Use memcpy instead (which compilers will hopefully optimize away...) |
||
|---|---|---|
| .. | ||
| capn-list.inc | ||
| capn-malloc.c | ||
| capn-stream.c | ||
| capn.c | ||
| capnp_c.h | ||