#40459: deprecated keywords Open Date: 2020-06-01 23:15 Last Update: 2020-06-01 23:15 URL for this Ticket: https://osdn.net//projects/mingw/ticket/40459 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40459 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2020-06-01 23:15 Updated by: daniel_myers * New Ticket "deprecated keywords" created --------------------------------------------------------------------- Ticket Status: Reporter: daniel_myers Owner: (None) Type: Issues Status: Open Priority: 1 - Lowest MileStone: (None) Component: GCC Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: I'm getting a compile error on an include directive of the libxml++ library, # include <libxml++\libxml++.h> dependency on gtkmm part of the library <gutils.h>. On line 360 of <gutils.h> they use the 'register keyword'. After C++ 11 the keyword has been deprecated. The include directive compiles fine with C++11 std AND C++14 std for me but not using the C++17 std, which is why I was wondering if it was a compiler issue. Im using: Windows 10, 64 bit, Codeblocks IDE vs 20.3, gcc 8.1.0 64 bit, GNU Binutils 2.24, mingw-w64-builds-4.3.5, Here is a similar issue that seems to have been addressed elsewhere. https:// github.com/ARM-software/CMSIS_5/issues/345 Ive posted a bug to the library in question also. I do not know if this is something that has to be fixed on their end, or if it is something that has to be taken care of with the compiler or if maybe I'm doing something wrong. I'm in no rush so i really don't know what the priority or severity should be. I don't know if other people are depending on this library also so Ill just set everything to low. -- Ticket information of MinGW - Minimalist GNU for Windows project MinGW - Minimalist GNU for Windows Project is hosted on OSDN Project URL: https://osdn.net/projects/mingw/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/mingw/ticket/40459 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=40459