https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116018
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So just use
extern typeof (rand) rand [[gnu::unavailable ("rand should not be used because
...reason...")]]];
?
