Hi,
Skriptkid 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:
A modification fixes that error. But...
Modifying "BRLCAD_CHECK_C_FLAG("std=gnu89" BUILD_TYPES Debug)"
to "BRLCAD_CHECK_C_FLAG("std=c99" BUILD_TYPES Debug)"
or "BRLCAD_CHECK_C_FLAG("std=gnu99" BUILD_TYPES Debug)" fixes that issue,
but pops up another error:
/Users/admin/Documents/gci/dev/brlcad/src/librt/prep.c:1445:8: error: using
extended field designator is an extension [-Werror,-Wextended-offsetof]
stp = BU_LIST_MAIN_PTR(soltab, mid, l2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/Documents/gci/dev/brlcad/include/bu.h:1165:43: note: expanded
from
macro 'BU_LIST_MAIN_PTR'
((struct _type *)(((char *)(_ptr2)) - offsetof(struct _type, _name2.magic)))
^
/usr/bin/../lib/clang/4.1/include/stddef.h:52:24: note: expanded from macro
'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
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.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker