View Single Post
Old 2020-12-09, 12:20   #7
mathwiz
 
Mar 2019

7×23 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
If there's a flag that "defaults to -fno-common", can't we (well, you) just set that flag the opposite way at compile time?
Perhaps, but it seems like sticking in the extern's is the more syntactically correct approach, and should work with all gcc versions without the need to fiddle with compiler flags...
mathwiz is offline   Reply With Quote