svn commit: r228878 - head/include

Ed Schouten ed at 80386.nl
Fri Dec 30 09:06:23 UTC 2011


Hello Sean,

* Sean C. Farley <scf at FreeBSD.org>, 20111230 03:54:
> I just thought of this while reviewing the change:  should
> __bool_true_false_are_defined be set only if __cplusplus is not set?
> It should be set for C99, but I wonder if it should be set for C++.

Even if the C++ standard doesn't mention it at all, I think it doesn't
mean it is forbidden to define it. It starts with __[a-z], so it is in
the reserved namespace.

> Also, is there a style requirement that the guard for a header file
> be based off of the name of the file?  I did not see anything obvious
> for this within style(9), but I am curious.

I am not aware of this.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20111230/ed648e66/attachment.pgp


More information about the svn-src-head mailing list