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

Mark global variables as extern#28

Open
eclipseo wants to merge 1 commit intointel:masterfrom
eclipseo:mark_global_var_as_extern
Open

Mark global variables as extern#28
eclipseo wants to merge 1 commit intointel:masterfrom
eclipseo:mark_global_var_as_extern

Conversation

@eclipseo
Copy link

GCC now defaults to -fno-common. As a result, global variable accesses
are more efficient on various targets. In C, global variables with
multiple tentative definitions now result in linker errors.

Fix #27

Signed-off-by: Robert-André Mauchin zebob.m@gmail.com

GCC now defaults to -fno-common. As a result, global variable accesses
are more efficient on various targets. In C, global variables with
multiple tentative definitions now result in linker errors.

Fix intel#27

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
@eclipseo
Copy link
Author

Tested in Fedora Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=40890763

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.

GCC 10 compatibility issue

1 participant