https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83624

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |msebor at gcc dot gnu.org
         Resolution|---                         |WONTFIX

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Support for attribute strong was removed in GCC 8 via r248337.  GCC now issues
the following warning (and provides no option to suppress it):

$ cat pr83624.C && gcc -S -Wall -Wextra pr83624.C
namespace my_ns {}
using namespace my_ns __attribute__((__strong__));
pr83624.C:2:49: warning: strong using directive no longer supported
 using namespace my_ns __attribute__((__strong__));
                                                 ^
pr83624.C:1:11: note: you may use an inline namespace instead
 namespace my_ns {}
           ^~~~~

I'm sympathetic to the argument for continuing to support it but I'm afraid the
decision has already been made and implemented and it seems quite unlikely that
it will be reversed.  So resolving as won't fix.

Reply via email to