Ronald Oussoren <ronaldousso...@mac.com> added the comment:
I've checked and '-fcommon' is default (at least with Xcode 12 beta on x86_64), and likely not what you'd want: With "-fcommon" the definition a non-static variable in two different files will get merged: first.m: int x; second.m: int x; Without '-fno-common' this will be allowed (and that's generally not what you want, correct usage is to have one of the files use "extern int x;". In clang 11 "-fno-common" is enabled by default, but I don't know when Apple do this in their copy of clang. ---- I'm closing this issue because using -fno-common is necessary avoid having a common section in the framework (see msg243259) ---------- resolution: -> not a bug stage: patch review -> resolved status: open -> closed type: -> compile error _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue24130> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com