Dear all,
trying to deprecate a "using" alias as in
using foo [[deprecated]] = int; int main() { foo f = 1; };
gives me
test-deprecate.cc(1): warning #2651: attribute does not apply to any entity using foo [[deprecated]] = int; ^ test-deprecate.cc(5): warning #1478: type "foo" (declared at line 1) was declared deprecated foo f = 1; ^
using ICC16, ICC17, ICC18 and ICC19. The deprecation is correctly detected by warning #1478 so #2651 is spurious here.
Best,
Daniel