diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/posix-headers/stddef.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/posix-headers/stddef.texi b/doc/posix-headers/stddef.texi index 84db56c0cb..829447ca37 100644 --- a/doc/posix-headers/stddef.texi +++ b/doc/posix-headers/stddef.texi @@ -18,4 +18,11 @@ NetBSD 5.0 Portability problems not fixed by Gnulib: @itemize +@item +Some platforms provide an @code{offsetof} macro that cannot be used in +arbitrary expressions: +Solaris 10 +This problem can be worked around by parenthesizing the +@code{offsetof} expression in the unlikely case you use it with +@code{sizeof} or @samp{[]}. @end itemize |