Repository navigation
Release fixes - #511
Merged
Merged
Release fixes#511
Conversation
Member
Author
|
The compilers on travis are too old (2011.) |
| } | ||
|
|
||
| static sig_atomic_t ctrl_c_pressed = 0; | ||
| static _Atomic int ctrl_c_pressed = 0; |
Member
Author
There was a problem hiding this comment.
There should be a static assertion somewhere here that checks that _Atomic int is lock free. Unfortunately clang is bugged and doesn't define the correct macros. We could assert it at runtime but that's probably overkill since _Atomic int will probably be lock free everywhere.
mahkoh
force-pushed
the
release-fixes
branch
from
September 4, 2016 01:23
3cf124c to
3b7a7ad
Compare
This was referenced Sep 21, 2016
Closed
mahkoh
force-pushed
the
release-fixes
branch
5 times, most recently
from
September 22, 2016 07:15
917db58 to
22ff142
Compare
Member
Author
|
This should work now. |
| - sourceline: 'deb-src http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.8 main' | ||
| packages: | ||
| - gcc-6 | ||
| - clang-3.8 |
Member
There was a problem hiding this comment.
These are pretty bleeding edge versions. We should probably use something older in Travis, so that we will not get situations like «it compiles in Travis, but fails in SOME_POPULAR_DISTRO».
Member
|
FYI — this does not fix #505. |
mahkoh
force-pushed
the
release-fixes
branch
from
September 26, 2016 08:43
22ff142 to
abfcc36
Compare
Having multiple threads mess around before everything has been initialized is fishy to beging with. In particular the worker will access the cache which will access options which might not yet have been loaded.
This warning is mostly useless. The behavior of missing fields is completely defined by the C standard (they are initialized to their null value.) This feature is often deliberately used and in some cases it's the only well-defined way to initialize a structure. (memset to 0 is not equilavent.)
mahkoh
force-pushed
the
release-fixes
branch
from
September 26, 2016 08:45
abfcc36 to
429240e
Compare
Member
Author
|
Changed to gcc5, clang3.7. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses the issues raised in #507 and some more.
Coincidentally 3a8091b might (or might not) fix #505.