fix: mac osx port: need extern int in a c file (D, not C code part)
chg: add optional warning for ring variables names used in procedures
chg: updated test results for primitiv_l.tst
Merge pull request #381 from mmklee/primitiv_test

chg: updated test results for primitiv_l.tst
added missing bug_tr485 test (see 4c0f1bb48b8)
chg: replaced all n_* with np* functions to reduce overhead
fix: wrong conversion from number to long
chg: moved QlogSize from tgb.cc to longrat.h