Skip to content
Snippets Groups Projects
  1. Jul 20, 2021
  2. Jul 17, 2021
  3. Jul 16, 2021
  4. Jun 15, 2021
  5. May 25, 2021
    • Justin Carpentier's avatar
    • Guilhem Saurel's avatar
      break circular include (#237) · 9aa411a7
      Guilhem Saurel authored
      * include registration: add failing unit test
      
      * include registration: break circular include loop
      
      otherwise, when a user include directly this header without fwd.hpp, as
      in the include.cpp regression test:
      
      Dans le fichier inclus depuis ../include/eigenpy/fwd.hpp:35,
                       depuis ../include/eigenpy/registration.hpp:9,
                       depuis ../unittest/include.cpp:7:
      ../include/eigenpy/expose.hpp: Dans la fonction « void eigenpy::expose() »:
      ../include/eigenpy/expose.hpp:27:9: erreur: « register_symbolic_link_to_registered_type » n'a pas été déclaré dans cette portée
         27 |     if(!register_symbolic_link_to_registered_type<T>())
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../include/eigenpy/expose.hpp:27:52: erreur: expected primary-expression before « > » token
         27 |     if(!register_symbolic_link_to_registered_type<T>())
            |                                                    ^
      ../include/eigenpy/expose.hpp:27:50: attention: le non logique est toujours appliqué au membre de gauche de la comparaison [-Wlogical-not-parentheses]
         27 |     if(!register_symbolic_link_to_registered_type<T>())
            |                                                  ^
      ../include/eigenpy/expose.hpp:27:54: erreur: expected primary-expression before « ) » token
         27 |     if(!register_symbolic_link_to_registered_type<T>())
            |                                                      ^
      9aa411a7
  6. May 21, 2021
  7. May 19, 2021
  8. Apr 25, 2021
  9. Apr 16, 2021
  10. Apr 02, 2021
  11. Mar 28, 2021
  12. Mar 24, 2021
  13. Mar 23, 2021
  14. Jan 19, 2021
Loading