one inline.. seems to reduce allocation
Fix warnings, more pragmas but they aren't needed