[cfe-dev] using clang on unionfs on mac
Yingshen Yu
yingshen.yu at gmail.com
Thu Nov 29 09:58:21 PST 2012
Hi,
I'm trying to use unionFS-FUSE with fuse4x, which is to overlay a writable directory onto a read-only source directory.
both the writable and the read-only source directory are on a real HFS+ case insensitive volume.
clang worked well but for one issue, it seems becoming case sensitive to header file includes. so
#include "Foo.h"
#include "foo.h" // assuming Foo.h has #pragma once
actually includes both copies. This doesn't occur if I compile on source directory directly.
My understanding is, whether the two files should be treated as one file or two different file is depend on the underlying file system case sensitiveness.
so I guess clang can determine underlying FS is case sensitive or not, can anyone explain how it determines this?
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Mac OS X 10.8.2
Thanks!
-Jonny
More information about the cfe-dev
mailing list