
On Jun 17, 2010, at 9:40 AM, Doug Gregor wrote:
On Thu, Jun 17, 2010 at 9:27 AM, Beman Dawes <bdawes@acm.org> wrote:
On Thu, Jun 17, 2010 at 11:46 AM, Doug Gregor <doug.gregor@gmail.com> wrote:
On Thu, Jun 17, 2010 at 8:19 AM, Daniel James <dnljms@gmail.com> wrote:
Hi,
The apple macro errors in the inspect report are only really a problem when certain apple headers are included. This never happens when we can control which headers are included so I think it's only a problem under the boost directory. So is it okay if I change inspect so that it only checks for apple macros under 'boost'?
What Apple macros are you referring to?
Apple has a header called <AssertMacros.h> that #defines both “check” and “check_error”, and other similar names,
Oh, that's horrible. Thanks for the clarification!
Here's the source for those macros: http://www.mactech.com/articles/develop/issue_11/Parent_final.html Develop was an in-house Apple magazine about programming; quite good, actually. Check out who was the author ;-) Of course, it was 1992. We've all learned since then... It amazes me that they're still in use, though - and that Apple still ships them as part of the developer tools. -- Marshall