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
On Linux I have a C library that defines API with callbacks as blocks. We attempted to add -fblocks to Cflags in a .pc file but got this error:
warning: error while trying to use pkgConfig flags for swift-system-libdispatch: nonWhitelistedFlags("Non whitelisted flags found: [\"-fblocks\"] in pc file libdispatch")
The end result is that every user of this library needs to add {-Xcc -fblocks} to their swift build command-line. This should either be allowed in .pc files or enabled by default.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: b25ebe3b007bd9463ab4c38d8da0bb28
Issue Description:
On Linux I have a C library that defines API with callbacks as blocks. We attempted to add
-fblocks
to Cflags in a .pc file but got this error:The end result is that every user of this library needs to add {-Xcc -fblocks} to their swift build command-line. This should either be allowed in .pc files or enabled by default.
The text was updated successfully, but these errors were encountered: