Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Add missing extern keywords#28

Closed
nmorey wants to merge 1 commit intointel:masterfrom
nmorey:dev/extern
Closed

Add missing extern keywords#28
nmorey wants to merge 1 commit intointel:masterfrom
nmorey:dev/extern

Conversation

@nmorey
Copy link
Copy Markdown

@nmorey nmorey commented Jan 8, 2020

Starting from the upcoming GCC release 10, the default of -fcommon option will change to -fno-common:
In C, global variables with multiple tentative definitions will result in linker errors.
Global variable accesses are also more efficient on various targets.

This fixes compilations errors with -fno-common enabled

Signed-off-by: Nicolas Morey-Chaisemartin nmoreychaisemartin@suse.com

Starting from the upcoming GCC release 10, the default of -fcommon option will change to -fno-common:
In C, global variables with multiple tentative definitions will result in linker errors.
Global variable accesses are also more efficient on various targets.

This fixes compilations errors with -fno-common enabled

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
@marxin
Copy link
Copy Markdown

marxin commented Mar 2, 2020

May I please ping this.

@nmorey nmorey closed this Apr 28, 2021
@nmorey nmorey deleted the dev/extern branch April 28, 2021 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants