ant...@3bb7dfac-3a0b-4e04-842a-767bc560f471  committed 41bdc1b

there should be no implicit function declaration: so error out if we find one, better than having a dynamic library that won't load at runtime

  • Participants
  • Parent commits 9d84d18
  • Branches default

Comments (0)

Files changed (1)

File src/

     if WARN_ALL:
         add_to_keywords(kw, 'extra_compile_args', "-Wall")
         add_to_keywords(kw, 'extra_link_args', "-Wall")
+    #these are almost certainly real errors since our code is "clean":
+    add_to_keywords(kw, 'extra_compile_args', "-Werror=implicit-function-declaration")
     PIC = True
     if PIC:
         add_to_keywords(kw, 'extra_compile_args', "-fPIC")