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
If you remove either the Foundation import or the integer comparison, the error goes away. It also goes away if you try to build without the experimental CXX interop feature. Removing libstdc++ 10 is a workaround to the issue, since Swift now seems to use libstc++ 9 instead. or so I thought
Example program (in main.swift of a freshly made executable package) :
Environment
Ubuntu 20.04
Swift 5.5 (september 20th-something release) official build
stdlib installed with libstdc++-10-dev
Additional Detail from JIRA
md5: 4e189258882818903efee073a7ab5c2c
Issue Description:
When building any file that has :
a integer comparison
Foundation imported
With `-Xswiftc -enable-experimental-cxx-interop` on an Ubuntu system that has libstdc++ 10, the following error appears :
If you remove either the Foundation import or the integer comparison, the error goes away. It also goes away if you try to build without the experimental CXX interop feature.
Removing libstdc++ 10 is a workaround to the issue, since Swift now seems to use libstc++ 9 instead.or so I thoughtExample program (in main.swift of a freshly made executable package) :
Build with :
The text was updated successfully, but these errors were encountered: