[boost] Mac OS 10 & type_traits/type_with_alignment.hpp
by Ralf W. Grosse-Kunstleve other posts by this author
May 19 2003 11:27PM messages near this date
Re: [boost] Random library: fn seed returning current seed value- why
not
|
Re: [boost] Mac OS 10 & type_traits/type_with_alignment.hpp
Platform:
Mac OS 10.2
gcc 3.3 compiled from sources
boost cvs from last Friday
When porting the Boost.Python bindings for some custom libraries I ran
into a problem with static asserts in type_with_alignment.hpp:
Index: type_with_alignment.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/type_traits/type_with_alignment.hpp,v
retrieving revision 1.10
diff -u -r1.10 type_with_alignment.hpp
--- type_with_alignment.hpp 16 Apr 2003 13:36:07 -0000 1.10
+++ type_with_alignment.hpp 19 May 2003 23:08:01 -0000
@@ -110,8 +110,10 @@
BOOST_STATIC_CONSTANT(std::size_t, found = alignment_of<align_t> ::value);
+#if !(defined(__APPLE__) && defined(__MACH__) && defined(__GNUC__)) // XXX
BOOST_STATIC_ASSERT(found > = Align);
BOOST_STATIC_ASSERT(found % Align == 0);
+#endif
public:
typedef align_t type;
This patch allows me to compile and link, and our regression test
runs fine.
Reducing my code to a minimal test is most likely a time-consuming
project that I'd like to avoid if possible (compilation is quite slow
to make things worse). Do the authors of the code above have any ideas
what could be going wrong? Are there things that I could try first
before chopping my code into pieces?
Thank you in advance!
Ralf
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Ralf W. Grosse-Kunstleve
Douglas Gregor
Ralf W. Grosse-Kunstleve
Douglas Gregor
Ralf W. Grosse-Kunstleve
David Abrahams
Douglas Paul Gregor
Douglas Paul Gregor
Ralf W. Grosse-Kunstleve
|