[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] recent major -unstable changes cause ia64 build to be broken
> it. Here I > will repeat my point about relying on implicit includes... :) Though I agree in principle with not using implicit includes, it doesn't really work in reality. For example, many header files declare structs that use typedefs for elements of the struct, which creates a direct dependency on a header file. The only way to avoid including the header file directly in the "parent" header file is by "instructing" all the users of the "parent" header to first include the subsidiary ones. The C language doesn't deal with this very well, resulting in very obscure error messages if something is missing. And since typedefs cannot be duplicately declared even if identical (a bug in C I think), there's a catch-22. Dan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |