Hi,

Sean has left the following comment at Fix Mac OS X compilation errors under Buildbot http://www.google-melange.com/gci/task/view/google/gci2012/8081208:


might not work


It might not be possible for the places where this macro is presently called, so you'd have to review them. I believe they're almost all used in static initializers, so you wouldn't be able to call a funtion either.

That said, you don't need a function to get the size of an array element. sizeof(struct t) would do it, so another approach may work.

I think we should start by investigating the few places bu_offsetofarray() are used first to see if we can eliminate that macro altogether. I'll create a follow-up to investigate.


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Fix Mac OS X compilation errors under Buildbot. To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/8081208.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to