Snow Leopard

Tried to build with your new instructions. Result:

g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/libputil_igate.o -I"/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Python.framework/Headers" -I"built/tmp" -I"built/include" -Ipanda/src/putil -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386   -O2 -DBUILDING_PANDA built/tmp/libputil_igate.cxx
built/tmp/libputil_igate.cxx: In function ‘PyObject* Dtool_BitArray_get_word_394(PyObject*, PyObject*, PyObject*)’:
built/tmp/libputil_igate.cxx:26276: error: conversion from ‘BitMaskNative’ to non-scalar type ‘BitMask<long unsigned int, 64>’ requested
built/tmp/libputil_igate.cxx: In function ‘PyObject* Dtool_BitArray_set_word_395(PyObject*, PyObject*, PyObject*)’:
built/tmp/libputil_igate.cxx:26350: error: no matching function for call to ‘BitArray::set_word(int, BitMask<long unsigned int, 64>&)’
built/include/bitArray.I:396: note: candidates are: void BitArray::set_word(int, BitMaskNative)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_num_on_bits() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:21164:   instantiated from here
built/include/bitMask.I:408: error: call of overloaded ‘count_bits_in_word(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:21: note: candidates are: int count_bits_in_word(PN_uint32)
built/include/pbitops.I:30: note:                 int count_bits_in_word(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_num_off_bits() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:21219:   instantiated from here
built/include/bitMask.I:420: error: call of overloaded ‘count_bits_in_word(long unsigned int)’ is ambiguous
built/include/pbitops.I:21: note: candidates are: int count_bits_in_word(PN_uint32)
built/include/pbitops.I:30: note:                 int count_bits_in_word(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_lowest_on_bit() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:21274:   instantiated from here
built/include/bitMask.I:432: error: call of overloaded ‘get_lowest_on_bit(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:102: note: candidates are: int get_lowest_on_bit(PN_uint32)
built/include/pbitops.I:117: note:                 int get_lowest_on_bit(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_highest_on_bit() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:21384:   instantiated from here
built/include/bitMask.I:456: error: call of overloaded ‘get_highest_on_bit(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:132: note: candidates are: int get_highest_on_bit(PN_uint32)
built/include/pbitops.I:143: note:                 int get_highest_on_bit(PN_uint64)
built/include/bitMask.I: In member function ‘int BitMask<WType, nbits>::get_next_higher_different_bit(int) const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:21495:   instantiated from here
built/include/bitMask.I:521: error: call of overloaded ‘count_bits_in_word(long unsigned int)’ is ambiguous
built/include/pbitops.I:21: note: candidates are: int count_bits_in_word(PN_uint32)
built/include/pbitops.I:30: note:                 int count_bits_in_word(PN_uint64)
built/include/bitMask.I: In member function ‘void BitMask<WType, nbits>::flood_down_in_place() [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23405:   instantiated from here
built/include/bitMask.I:879: error: call of overloaded ‘flood_bits_down(long unsigned int&)’ is ambiguous
built/include/pbitops.I:40: note: candidates are: PN_uint32 flood_bits_down(PN_uint32)
built/include/pbitops.I:55: note:                 PN_uint64 flood_bits_down(PN_uint64)
built/include/bitMask.I: In member function ‘void BitMask<WType, nbits>::flood_up_in_place() [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23464:   instantiated from here
built/include/bitMask.I:868: error: call of overloaded ‘flood_bits_up(long unsigned int&)’ is ambiguous
built/include/pbitops.I:71: note: candidates are: PN_uint32 flood_bits_up(PN_uint32)
built/include/pbitops.I:86: note:                 PN_uint64 flood_bits_up(PN_uint64)
built/include/bitMask.I: In member function ‘BitMask<WType, nbits> BitMask<WType, nbits>::flood_bits_down() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23523:   instantiated from here
built/include/bitMask.I:902: error: call of overloaded ‘flood_bits_down(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:40: note: candidates are: PN_uint32 flood_bits_down(PN_uint32)
built/include/pbitops.I:55: note:                 PN_uint64 flood_bits_down(PN_uint64)
built/include/bitMask.I: In member function ‘BitMask<WType, nbits> BitMask<WType, nbits>::flood_bits_up() const [with WType = long unsigned int, int nbits = 64]’:
built/tmp/libputil_igate.cxx:23584:   instantiated from here
built/include/bitMask.I:890: error: call of overloaded ‘flood_bits_up(const long unsigned int&)’ is ambiguous
built/include/pbitops.I:71: note: candidates are: PN_uint32 flood_bits_up(PN_uint32)
built/include/pbitops.I:86: note:                 PN_uint64 flood_bits_up(PN_uint64)
Storing dependency cache.
Elapsed Time: 3 min 25 sec

make: *** [all] Error 1

Any idea ? :slight_smile: