-
Notifications
You must be signed in to change notification settings - Fork 124
Fix compilation warnings #792
Comments
Hello, Regarding this issue, I have found lots of deprecation warnings, that could be listed in two groups:
About own ones, we should think about that if the tool using the library is also deprecated, in which case I would remove it from the master branch (maybe move them to another branch?) or if it is an active tool. In this last case, what is the About standard library ones, the most noticeable one is the deprecation of The external ones could be reviewed after checking the other two. |
Hi @lr-morales you are right, most of our warnings come from deprecated code. I am not aware about which instructions are deprecated in the progeo library or if it is the whole library problem itself (maybe @chanfr or @jmplaza knows better). In any case we should at least review our two progeo libs: the one you linked and the one that is inside geometry lib. I don't know if there is a replacement for the progeo library at the moment, but we could take advantage of this opportunity and "remake" it in C++ removing all the deprecations in the process. About the C++ standard warnings, I would have to review each one, but we should ideally be supporting only C++11 standards as we are currently using the latest stable gcc and g++ versions (I think it's 5.4.0 in Ubuntu Xenial). What do you think? |
Confirming gcc versions of Xenial being 5.4.0 and Jessie being 4.9.2, both should support After reviewing the progeo of geometry (I didn't remember it was there, thanks for pointing it out), it seems to be already the C++ version of the one deprecated. If this is correct, then the point moves to see if the libraries/tools using the old |
When the PR #886 is reviewed and merged, the remaining warnings should be (assuming gcc version in xenial):
|
Hi, good job @lr-morales with PR #886! good to know the C++11 is supported on Jessie (gcc-4.9.2). Let's move forward jumping to stdC++11 and marking as deprecated (and so not-supported) previous releases. Yes C release of progeo library is deprecated. It was marked as deprecated 4 months ago. It's time to remove it from the official code. The C++ progeo release is here I don't know whether @eperdices uses this C++ progeo library for SDVL or another code is used there. In addition I don't know whether @chanfr uses this C++ progeo library for PeopleTracker application or another code is used there. There is code for similar functionality in OpenCV. Anyway AFAIK the C library can be safely removed. |
The idea of this issues is to reference all the commits related to remove compilation warnings.
The text was updated successfully, but these errors were encountered: