> I can now confirm this is a change in GCC 10 ( from
> https://gcc.gnu.org/gcc-10/changes.html ):

> "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.       With -fcommon such definitions are
> silently merged during       linking."



> More details in:

> https://gcc.gnu.org/gcc-10/porting_to.html#common



> I am now realizing it can be tedious to rearrage the code to initialize stuff 
> only once.

> -fcommon could allows us to do the bad thing for some time

+1

changing the default to n_common will probably break a lot of
programs, so IMHO this change is stupid, even if easily undone (once
you know the reason and fix)

Tom



_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to