[swift-build-dev] [swift-evolution] [swift-evolution-announce] [Review] SE-0181: Package Manager C/C++ Language Standard Support

Jordan Rose jordan_rose at apple.com
Thu Jul 13 13:07:11 CDT 2017



> On Jul 13, 2017, at 02:12, Daniel Vollmer <lists at maven.de> wrote:
> 
> Hi,
> 
>> On 13. Jul 2017, at 00:58, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> I agree.  It would be worth considering splitting this into two different dimensions: base language standard (90, 94, 99, 11) vs gnu/clang extensions (on/off).  GNU extensions are generally compatible with non-extensions, so you may be able to get away with them always being enabled.
> 
> On the second point, I really want to know when I’m (usually accidentally) using any (GNU or otherwise) extensions, so I would strongly prefer them not being forcibly enabled.-

FWIW, you are always using GNU mode in Swift, and we don't provide a direct way to control that. (But clearly that matters less for header files.)

Jordan


More information about the swift-build-dev mailing list