While playing with -WerrorI encountered -Wauto-import. I seem to believe that all tags #importthat import system libraries / frameworks into @import statements. Is a warning useful only to use modules explicitly or are there other consequences?
Example
#include <stddef.h>
@import Darwin.C.stddef;
Oddly enough, if I agree with the proposed replacement, I get a warning expected unqualified-id
source
share