Hi all, libusbx's "list_entry" macro seems to do exactly what is described here:
<http://en.wikipedia.org/wiki/Offsetof> In particular, "it has undefined behavior according to the C standard, since it involves a dereference of a null pointer". After building libusbx with clang and -fcatch-undefined-behavior, I triggered this problem. Could list_entry be reworked to use offsetof instead? Thanks, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel