#import, #pragma once yadda yadda mumble grumble

Jonathan Lennox lennox@cs.columbia.edu
Wed Jul 30 16:29:00 GMT 2003


On Wednesday, July 30 2003, "Neil Booth" wrote:

> If it doesn't hit anything in the hash table, it looks for a once-only
> file with the same mtime and length (which, unless you're unlucky,
> should fail for everything).  If something matches it then falls back
> to a byte-by-byte file comparison (so this is what happens to symlinks
> and hardlinks, but users of those should expect to pay).

This comparison also happens for the case:
#import "dir/file1.h"
#import "dir/file2.h"

where dir/file1.h includes
#import "file2.h"

right?  Or am I missing something clever about the hash table code?

-- 
Jonathan Lennox
lennox at cs dot columbia dot edu



More information about the Gcc mailing list