NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / doc / posix-headers / stddef.texi
index 92ff294..6174b1f 100644 (file)
@@ -1,7 +1,7 @@
 @node stddef.h
 @section @file{stddef.h}
 
-POSIX specification: @url{http://www.opengroup.org/susv3xbd/stddef.h.html}
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stddef.h.html}
 
 Gnulib module: stddef
 
@@ -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 11 2011-11
+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