You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, the Package.swift format would allow providing additional compiler flags, so I could specify the language mode passed to clang that I need.
Currently, when I attempt to compile my package with `swift build`, I get many "-Wc+11-extensions" errors. Compiling with `swift build -Xcc -std=c+0x` successfully compiles the package.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 4c36458b6b227f7a0ce9fa50871d5a2e
duplicates:
Issue Description:
I'd like to make a SwiftPM Package that includes C++ code that requires being compiled with `-std c++0x`. However, the language mode is hardcoded here: https://github.com/apple/swift-package-manager/blob/swift-DEVELOPMENT-SNAPSHOT-2017-02-01-a/Sources/Build/BuildPlan.swift#L434-L442
Ideally, the Package.swift format would allow providing additional compiler flags, so I could specify the language mode passed to clang that I need.
Currently, when I attempt to compile my package with `swift build`, I get many "-Wc+11-extensions" errors. Compiling with `swift build -Xcc -std=c+0x` successfully compiles the package.
The text was updated successfully, but these errors were encountered: