[vtk-developers] Who knows vtksqlite/vtk_sqlite3.c ?

Sean McBride sean at rogue-research.com
Fri Apr 8 18:29:36 EDT 2011


Hi all,

One of the few remaining warnings building VTK with clang is:


/VTK/Utilities/vtksqlite/vtk_sqlite3.c:19158:15: warning: shift result
(8321499136) requires 34 bits to represent, but 'int' only has 32 bits [-
Wshift-overflow]
    a &= (0x1f<<28)|(0x7f<<14)|(0x7f);
          ~~~~^ ~~

The warning seems quite correct.  The code's intent is incomprehensible
however. :)  Anyone an expert in vtksqlite/vtk_sqlite3.c ?

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list