-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15763 from ronawho/gcc-10-compat
Fix gcc 10 incompatibilities [reviewed by @gbtitus] Fix gcc 10 incompatibilities - Cast some compiler memcpy's to void* to avoid -Werror=class-memaccess - gcc 10 is catching more cases, but we ran into this with gcc 9 too. See a0904cd for more info. - Make globals in runtime headers extern - GCC 10 made -fno-common the default, and there were a couple places where we were relying on -fcommon behavior. Fix this by making our declarations in .h files extern and adding the definitions in the .c files. See https://gcc.gnu.org/gcc-10/porting_to.html for more info Resolves #15657 Resolves #15761
- Loading branch information
Showing
6 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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