Re: svn commit: r286103 - head/share/man/man9

2015-08-04 Thread Bruce Evans
On Tue, 4 Aug 2015, Ed Schouten wrote: 2015-08-04 20:23 GMT+02:00 Warner Losh : There???s at least one compiler in common use that warns about extern int fred[1]; extern int fred[1]; being a repeated declaration (despite being legal C). Would you happen to know which one that is? All non-

Re: svn commit: r286103 - head/share/man/man9

2015-08-04 Thread Ed Schouten
2015-08-04 20:23 GMT+02:00 Warner Losh : > There’s at least one compiler in common use that warns about > > extern int fred[1]; > extern int fred[1]; > > being a repeated declaration (despite being legal C). Would you happen to know which one that is? -- Ed Schouten Nuxi, 's-Hertogenbosch, the

Re: svn commit: r286103 - head/share/man/man9

2015-08-04 Thread Warner Losh
> On Aug 4, 2015, at 12:19 PM, Ed Schouten wrote: > > 2015-07-31 8:21 GMT+02:00 Bruce Evans : >> For gcc before 4.6, >> the ifdef reduces to using __COUNTER__ as the second variable if >> __COUNTER__ is supported, else nothing. So for the undocumented >> subset of compilers that support __COUNT

Re: svn commit: r286103 - head/share/man/man9

2015-08-04 Thread Ed Schouten
2015-07-31 8:21 GMT+02:00 Bruce Evans : > For gcc before 4.6, > the ifdef reduces to using __COUNTER__ as the second variable if > __COUNTER__ is supported, else nothing. So for the undocumented > subset of compilers that support __COUNTER__ all cases work, and > for the complementary subset no ca

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread Benjamin Kaduk
On Fri, Jul 31, 2015 at 12:37 PM, Warner Losh wrote: > > > On Jul 31, 2015, at 10:31 AM, John-Mark Gurney wrote: > > > > Do we support linking man pages between man3/man9? or should it just > > be in a comment? and in one section? > > Put them in section 9 with a note saying they work for user l

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread John-Mark Gurney
Warner Losh wrote this message on Fri, Jul 31, 2015 at 10:37 -0600: > > > On Jul 31, 2015, at 10:31 AM, John-Mark Gurney wrote: > > > > Ed Schouten wrote this message on Fri, Jul 31, 2015 at 11:24 +0200: > >> Maybe it would make more sense to just remove this manual page? > >> > >> It looks lik

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread Warner Losh
> On Jul 31, 2015, at 10:31 AM, John-Mark Gurney wrote: > > Ed Schouten wrote this message on Fri, Jul 31, 2015 at 11:24 +0200: >> Maybe it would make more sense to just remove this manual page? >> >> It looks like there are already some pieces of code in our source tree >> that use _Static_ass

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread John-Mark Gurney
Ed Schouten wrote this message on Fri, Jul 31, 2015 at 11:24 +0200: > Maybe it would make more sense to just remove this manual page? > > It looks like there are already some pieces of code in our source tree > that use _Static_assert(), which is good. Maybe it would be better to > to leave CTASSE

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread Warner Losh
> On Jul 31, 2015, at 3:24 AM, Ed Schouten wrote: > > Hi John-Mark, > > Maybe it would make more sense to just remove this manual page? > > It looks like there are already some pieces of code in our source tree > that use _Static_assert(), which is good. Maybe it would be better to > to leave

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread Ed Schouten
Hi John-Mark, Maybe it would make more sense to just remove this manual page? It looks like there are already some pieces of code in our source tree that use _Static_assert(), which is good. Maybe it would be better to to leave CTASSERT() undocumented, so that it becomes less likely that new code

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread Bruce Evans
On Fri, 31 Jul 2015, John-Mark Gurney wrote: Bruce Evans wrote this message on Fri, Jul 31, 2015 at 16:21 +1000: On Fri, 31 Jul 2015, John-Mark Gurney wrote: Log: The implementation note isn't true anymore.. Not that anyone reads it, but those that do, remind them that this isn't usable i

Re: svn commit: r286103 - head/share/man/man9

2015-07-31 Thread John-Mark Gurney
Bruce Evans wrote this message on Fri, Jul 31, 2015 at 16:21 +1000: > On Fri, 31 Jul 2015, John-Mark Gurney wrote: > > > Log: > > The implementation note isn't true anymore.. > > > > Not that anyone reads it, but those that do, remind them that this > > isn't usable in userland... I can't wait

Re: svn commit: r286103 - head/share/man/man9

2015-07-30 Thread Bruce Evans
On Fri, 31 Jul 2015, John-Mark Gurney wrote: Log: The implementation note isn't true anymore.. Not that anyone reads it, but those that do, remind them that this isn't usable in userland... I can't wait till this doc is wrong.. It goes without saying that an API documented in a section 9

svn commit: r286103 - head/share/man/man9

2015-07-30 Thread John-Mark Gurney
Author: jmg Date: Fri Jul 31 03:28:02 2015 New Revision: 286103 URL: https://svnweb.freebsd.org/changeset/base/286103 Log: The implementation note isn't true anymore.. Not that anyone reads it, but those that do, remind them that this isn't usable in userland... I can't wait till this do