!!! Error: cast from ‘RGF*’ to ‘int’ loses precision This happens with gcc4 on 64 bit systems. You are likely doing something like %%prettify {{{ foo = (int)bar; }}} /% Instead, do %%prettify {{{ foo = (long)bar; }}} /% ---- [C/C++ CategoryComputing.C]