Chris Quenelle writes: > 1. list of headers without version info (generated by compiler, put into .o) > > 2. complete URL pointing at web-based tree of headers including hash code > The hash code would be retrieved from the system at compile time.
If the hash were based on contents (such as MD5), rather than embedded #pragmas, then you'd have a fairly good guarantee that nobody did "sudo vi /usr/include/stdio.h" and then lied about it. That alone might be pretty useful. It would also prevent mis-identification of headers, such as happens (or at least used to happen) with gcc's weird "fix-includes" hack. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677