Loading

Paste #plisdmpum

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

Comments