Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't use _Nonnull for clang 3.6 (#147) #154

Merged
merged 1 commit into from
Mar 14, 2018
Merged

Conversation

weissi
Copy link
Member

@weissi weissi commented Mar 14, 2018

Motivation:

Clang 3.6 doesn't know about _Nonnull which breaks compilation for our
C atomics.

Modifications:

Defined _Nonnull as __attribute__((nonnull)) which seems to already
be available before clang 3.7.

Result:

NIO compiles with clang 3.6 as the default C compiler.

Motivation:

Clang 3.6 doesn't know about `_Nonnull` which breaks compilation for our
C atomics.

Modifications:

Defined `_Nonnull` as `__attribute__((nonnull))` which seems to already
be available before clang 3.7.

Result:

NIO compiles with clang 3.6 as the default C compiler.
@weissi weissi mentioned this pull request Mar 14, 2018
@weissi weissi added this to the 1.2.0 milestone Mar 14, 2018
@normanmaurer normanmaurer added the patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) label Mar 14, 2018
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@Lukasa Lukasa merged commit 4098832 into apple:master Mar 14, 2018
tiagomartinho pushed a commit to tiagomartinho/swift-nio that referenced this pull request Mar 17, 2018
Motivation:

Clang 3.6 doesn't know about `_Nonnull` which breaks compilation for our
C atomics.

Modifications:

Defined `_Nonnull` as `__attribute__((nonnull))` which seems to already
be available before clang 3.7.

Result:

NIO compiles with clang 3.6 as the default C compiler.
weissi added a commit to weissi/swift-nio that referenced this pull request Jun 13, 2020
weissi pushed a commit to weissi/swift-nio that referenced this pull request Feb 3, 2024
As outlined in a [Swift forums post in November ’21](https://forums.swift.org/t/swiftnio-swift-version-support/53232), SwiftNIO will only support the latest non-patch Swift release and the 2 immediately prior non-patch versions.

- drop support for Swift 5.2 and 5.3. 
- update CI for Swift 5.4 to run on bionic instead of focal to ensure that we still test bionic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants