xiaoxiang781216 commented on a change in pull request #179: macOS support for sim URL: https://github.com/apache/incubator-nuttx/pull/179#discussion_r372511456
########## File path: binfmt/binfmt_globals.c ########## @@ -56,7 +56,7 @@ * protection to simply disable pre-emption when accessing this list. */ -FAR struct binfmt_s *g_binfmts; +FAR struct binfmt_s *g_binfmts = NULL; Review comment: There are many places which don't set the global variable to NULL, the same error will report again and again if we turn more option in defconfig. The right fix is to add -fno-common. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
