Re: [xml] libxml2 API crazy?
- From: Callum Gibson <callum_r_gibson yahoo com au>
- To: xml gnome org
- Subject: Re: [xml] libxml2 API crazy?
- Date: Mon, 29 Apr 2013 15:23:22 +1000
On 29Apr13 08:32, Nikita Churaev wrote:
}> It doesn't have anything to do with C standard.
}
}What if the C standard allows the compiler to place q and w further
}apart in struct A than in struct B? Then if you cast struct A *a into
}struct B *b, you'll get garbage in b->w.
See K&R II (ie. the ANSI version) pg 213.
--
Callum Gibson @ home
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]