This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cpplib: Start moving switch handling to front ends


Zack Weinberg <zack@codesourcery.com> writes:

> Apple's in a different boat from FSF GCC - you are only interested in
> one platform, and you can make sure that ino/dev comparisons work
> properly there.  I suppose I could live with a patch to disable that
> warning for Darwin and Objective C only.  However, you could at least
> update your own documentation to encourage use of #include and #ifndef
> wrappers instead.  You could borrow the rationale from cpp.texi (I wrote
> that text; you have my permission to use it)

I'm curious whether #import works correctly under AFS, for which there is
a client for MacOS X and which is used widely at educational institutions.
IIRC, inodes are per-volume in AFS, and it's therefore possible for a
header in a different volume to end up with the same inode and device
number as another header.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]