tag:blogger.com,1999:blog-33414002.post1536975749499944470..comments2023-10-25T15:25:50.011+02:00Comments on ROLF - An alternative GUI for Linux: Why does the language version being used affect standard semantics?Simonhttp://www.blogger.com/profile/11289534660572407264noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-33414002.post-76351259749154510192011-06-19T17:18:32.414+02:002011-06-19T17:18:32.414+02:00Ah, OK.
Although -DPOSIX_C_SOURCE=200112L doesn&#...Ah, OK.<br /><br />Although -DPOSIX_C_SOURCE=200112L doesn't work (with --std=c99). Nor does -D__USE_POSIX, or -D__USE_POSIX199309.<br /><br />Or -D_POSIX_C_SOURCE=2 or -D_XOPEN_SOURCE or -D_POSIX_SOURCE.<br /><br />I'll just use -std=gnu99. :-/Simonhttps://www.blogger.com/profile/11289534660572407264noreply@blogger.comtag:blogger.com,1999:blog-33414002.post-41209454809132426752011-06-16T22:16:15.589+02:002011-06-16T22:16:15.589+02:00It doesn't. siginfo is a POSIX feature, so you...It doesn't. siginfo is a POSIX feature, so you should be compiling with -DPOSIX_C_SOURCE=200112L (or similar). GCC enables POSIX features by default, as they're generally useful. Asking for strict C99 compliance will disable GCC's auto-enabling of POSIX extensions.Anonymousnoreply@blogger.com