time_t is not necessary a long. On some architecture (for my case FreeBSD i386), time_t is defined as an int (and long for amd64). So, for 32 bits, libopencad doesn't compile:
lib/cadheader.h:78:5: error: constructor cannot be redeclared CADVariant( time_t val );
^
lib/cadheader.h:72:5: note: previous declaration is here CADVariant( int val );
time_t is not necessary a long. On some architecture (for my case FreeBSD i386), time_t is defined as an int (and long for amd64). So, for 32 bits, libopencad doesn't compile:
See types.h