Hi all,

When compiling libxml2 for ARM, I get alot of cast-align warnings, e.g. from 
this line:

https://git.gnome.org/browse/libxml2/tree/encoding.c#n491.<https://git.gnome.org/browse/libxml2/tree/encoding.c#n491>


This generates the warning message: "cast increases required alignment of 
target type". My question: is this something to be concerned about? What might 
be the consequences if someone passes a char* that is not suitably aligned for 
casting to a (short*)?


Cheers

Andrew
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to