- In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/ai_instance.cpp:16:
- In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/../script/squirrel_class.hpp:15:
- In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/../script/squirrel_helper.hpp:18:
- In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/../script/../string_func.h:31:
- /Users/andy2/workspace/openttd-jj-last/src/ai/../core/bitmath_func.hpp:107:15: error:
- no matching conversion for C-style cast from 'unsigned int' to 'BitMap'
- return (x & ((T)1U << y)) != 0;
- ^~~~~
- /Users/andy2/workspace/openttd-jj-last/src/ai/../tilearea_type.h:254:9: note:
- in instantiation of function template specialization 'HasBit<BitMap>'
- requested here
- return HasBit(bit_map[position / (CHAR_BIT * sizeof(BitMap))], p...
- ^
- /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:61:8: note:
- candidate constructor (the implicit copy constructor) not viable: no known
- conversion from 'unsigned int' to 'const BitMap' for 1st argument
- struct BitMap {
- ^
- /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:61:8: note:
- candidate constructor (the implicit default constructor) not viable:
- requires 0 arguments, but 1 was provided