FSF GCC, #import and #pragma once

Kai Henningsen kaih@khms.westfalen.de
Tue Jul 29 22:54:00 GMT 2003


d.ayers@inode.at (David Ayers)  wrote on 22.07.03 in <3F1DAF96.3060203@inode.at>:

> Now on the subject matter at hand, I personally would plea for not
> removing support for #import.  Not because it's well enough defined or

Incidentally, there's one option for #import that hasn't been discussed  
yet IIRC: make it into an alias for #include in FSF gcc, that is, entirely  
drop the dupe-suppression semantics.

That would cover all my uses, for example. I've never seen code that  
*needed* #import special semantics, at least in Objective C.

MfG Kai



More information about the Gcc mailing list