This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Add info to a comment
authorKarl Williamson <khw@cpan.org>
Fri, 17 Jul 2020 00:16:29 +0000 (18:16 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 18 Jul 2020 03:51:40 +0000 (21:51 -0600)
embed.fnc

index d98bb8e..6028a9d 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
 :
 :      gcc has a bug (which they claim is a feature) in which casting the
 :       result of one of these to (void) doesn't silence the warning that the
-:      result is ignored.
+:      result is ignored.  (Perl has a workaround for this bug, see
+:       PERL_UNUSED_RESULT docs)
 :
 :        proto.h: add __attribute__warn_unused_result__
 :