#include //#include #include #include //#include #### c:\test\c\oiskuu-search.h(9) : warning C4293: '<<' : shift count negative or too big, undefined behavior #### enum { logM = 32, Mmax = 1ull << logM, Mdflt = 65536, Mnil = Mmax - 1 }; #### c:\test\c\oiskuu-search.h(10) : warning C4341: 'Mmax' : signed value is out of range for enum constant c:\test\c\oiskuu-search.h(10) : warning C4309: 'initializing' : truncation of constant value c:\test\c\oiskuu-search.h(14) : error C2143: syntax error : missing ')' before '(' c:\test\c\oiskuu-search.h(14) : error C2091: function returns function c:\test\c\oiskuu-search.h(14) : error C2059: syntax error : ')' c:\test\c\oiskuu-search.h(14) : error C2085: 'bt_off_t' : not in formal parameter list #### // F = logM is theoretically optimal. Mmax is our maximum needle size. // if logM/Mmax is changed, be sure to also check the bt_off_t below enum { logM = 32, Mmax = 1ull << logM, Mdflt = 65536, Mnil = Mmax - 1 }; enum { F = 16, Ftop = 1 << F, Fmask = Ftop - 1 }; //typedef uint32_t bt_off_t; // must hold 0..Mnil enum { BT_OFF_MAX = Mnil } __attribute__((packed)) typedef bt_off_t;