1. Oct 18, 2019
  2. Oct 17, 2019
    • nicolov's avatar
      Fix build with -Wmissing-prototypes (#1954) · de5a29c0
      nicolov authored
      When building with `-Werror,-Wmissing-prototypes`, `clang` complains about missing prototypes for functions defined through macro expansions. This PR adds the missing prototypes.
      
      ```
      error: no previous prototype for function 'pybind11_init_impl_embedded' [
      -Werror,-Wmissing-prototypes]                                           
      PYBIND11_EMBEDDED_MODULE(embedded, mod) {                                             
      ^                                                                           
      external/pybind11/include/pybind11/embed.h:61:5: note: expanded from macro 'PYBIND11_EMBEDDED_MODULE'
          PYBIND11_EMBEDDED_MODULE_IMPL(name)                                       \
          ^                                                                         
      external/pybind11/include/pybind11/embed.h:26:23: note: expanded from macro 'PYBIND11_EMBEDDED_MODULE_IMPL'
            extern "C" void pybind11_init_impl_##name() {      \                  
                            ^                                             
      <scratch space>:380:1: note: expanded from here                     
      pybind11_init_impl_embedded                                                                                                                      
      ^                                                                                                                                                
      1 error generated.
      ```
      de5a29c0
  3. Oct 15, 2019
  4. Oct 09, 2019
    • Sergei Izmailov's avatar
      Adapt to python3.8 C API change (#1950) · 6cb584e9
      Sergei Izmailov authored
      * Adapt to python3.8 C API change
      
      Do `Py_DECREF(type)` on all python objects on deallocation
      
      fix #1946
      
      * Add bare python3.8 build to CI matrix
      
      While numpy/scipy wheels are available, run python3.8 test without them
      6cb584e9
  5. Oct 07, 2019
  6. Sep 22, 2019
  7. Sep 20, 2019
  8. Sep 05, 2019
  9. Aug 27, 2019
  10. Aug 23, 2019
  11. Aug 20, 2019
  12. Aug 19, 2019
  13. Aug 17, 2019
  14. Aug 16, 2019
    • Vladimír Vondruš's avatar
      Fix -Wmissing-prototypes warning on Clang. (#1863) · 5b0ea77c
      Vladimír Vondruš authored
      The -Wmissing-prototypes Clang warning (or -Wmissing-declarations on
      GCC) is very useful to avoid accidents where a function definition in a
      source file doesn't match the corresponding declaration in a header
      file, as it would warn already during compilation and not much later
      during link time.
      
      Unfortunately this means that exported functions defined only in the
      source file (usually the ones annotated with `extern "C"`) will cause
      this warning to be emitted too (on Clang, GCC has a slightly different
      behavior with -Wmissing-declarations and doesn't warn here). This fixes
      the warning by providing a declaration right before the definition.
      5b0ea77c
    • ali-beep's avatar
      5ef13eb6
  15. Aug 15, 2019
  16. Aug 14, 2019
  17. Jul 27, 2019
  18. Jul 23, 2019
  19. Jul 19, 2019
  20. Jul 18, 2019