Conversation
…ngles and igl::is_border_vertex. CTRL+F for "deprecated" find functions where the comment says that the functioin is deprecated.
…use it looks like the functions which have been marked as deprecated are already gone.
|
Thanks! I would also vote for marking Additionally I think we should revise the #ifdef __has_cpp_attribute
# define IGL_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x)
#else
# define IGL_HAS_CPP_ATTRIBUTE(x) 0
#endif
#ifdef _MSC_VER
# define IGL_MSC_VER _MSC_VER
#else
# define IGL_MSC_VER 0
#endif
#ifndef IGL_DEPRECATED
# if (IGL_HAS_CPP_ATTRIBUTE(deprecated) && __cplusplus >= 201402L) || \
IGL_MSC_VER >= 1900
# define IGL_DEPRECATED [[deprecated]]
# else
# if defined(__GNUC__) || defined(__clang__)
# define IGL_DEPRECATED __attribute__((deprecated))
# elif IGL_MSC_VER
# define IGL_DEPRECATED __declspec(deprecated)
# else
# pragma message("WARNING: You need to implement IGL_DEPRECATED for this compiler")
# define IGL_DEPRECATED /* deprecated */
# endif
# endif
#endif |
|
Thank you for your feedback! |
|
Awesome. I've edited my code snippet compared to the msg you might have received by email, just FWI (adding pragma message + macro for MSVC). |
…and fixed macro for MSVC.
|
I just got the ok from Alec to mark |
Use the macro in
igl::all_edges,igl::internal_anglesandigl::is_border_vertex.CTRL+F for "deprecated" to find functions where the comment says they're deprecated.
Removed #include deprecated.h for
igl::nchoosekandigl::readOBJbecause it looks like the functions which have been marked as deprecated are already gone. See igl::nchoosek and igl::readOBJThe compiler warning will look sth. like below if you use a deprecated func.
Check all that apply (change to
[x])