New warning in G++, and in user code.

Hello, I recently updated my system, and g++ (Debian 4.8.1-10) 4.8.1 came in with. With this new version, I got the following bug resolved: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33255 But it causes a lot of warning for my code using milena. I propose the following patch that suppress the warnings from user code. -- Armand Leclercq EPITA 2013 Assistant C/Unix

On 15/10/2013 20:20, Armand Leclercq wrote:
Hello,
Hello Armand,
I recently updated my system, and g++ (Debian 4.8.1-10) 4.8.1
came in with. With this new version, I got the following bug resolved: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33255
But it causes a lot of warning for my code using milena.
I propose the following patch that suppress the warnings from user code.
Thank you for your patch. I'm applying it to branch `next' and later to `master'. However, I guess most warnings triggered by GCC 4.8's `-Wunused-local-typedefs' (and hence `-Wall') option(s) are coming from Milena's concept checking statements located in milena/mln/core/concept/. I'll try to address this issue later (I just opened a ticket about it: https://trac.lrde.epita.fr/olena/ticket/296). Meanwhile, you can pass `-Wno-unused-local-typedefs' to g++ to get rid of these warnings. -- Roland Levillain EPITA Research and Development Laboratory (LRDE) 14-16, rue Voltaire - FR-94276 Le Kremlin-Bicêtre Cedex - France Phone: +33 1 53 14 59 45 - Fax: +33 1 53 14 59 22 - www.lrde.epita.fr
participants (2)
-
Armand Leclercq
-
Roland Levillain