Commit Graph

6 Commits

Author SHA1 Message Date
ed
753612fc80 Add support for __COUNTER__.
__COUNTER__ allows one to obtain incrementing (read: unique) numbers
from the C preprocesor. This is useful when implementing things like a
robust implementation of CTASSERT(), which currently fails when using
it more than once on a single line of code. Probably not likely to cause
any breakage, but still.

__COUNTER__ was also added to GCC 4.3, but since that implementation is
GPLv3 licensed, I took the liberty of implementing it without looking at
any upstream sources. Therefore, this version is licensed under the same
license as the rest of the code; GPLv2.
2011-12-13 17:34:47 +00:00
benl
0748b6b611 Fix clang compile warnings.
Approved by:	philip (mentor)
2011-05-22 22:14:15 +00:00
kan
cc9d7c552e This commit was generated by cvs2svn to compensate for changes in r171831,
which included commits to RCS files with non-trunk default branches.
2007-08-14 02:52:47 +00:00
kan
b162aa2e5a GCC 4.2.1 release miscellaneous support libraries. 2007-08-14 02:52:47 +00:00
kan
5150d199b6 Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
for temporary files.
2007-05-19 03:17:00 +00:00
kan
97ee9c3f29 GCC 4.2.0 release miscellaneous support libraries. 2007-05-19 01:27:20 +00:00