This space is obsolete and unmaintained. The entire content of the DM Developer Guide is now maintained at https://developer.lsst.io .
I think it is time to revisit this topic. We will shortly upgrade SWIG to 3.0.2. The main motivation for that upgrade is C++11 support, and we ought to able to take advantage of it.
The standard described on this page endorses the use of "long long". In cases where the actual bit width of a variable is an issue, do we prefer the use of the <cstdint> types? E.g., the use of "int64_t" in preference to "long long"?
See for instance http://en.cppreference.com/w/cpp/header/cstdint
Unfortunately, cstdint is not supported by RHEL6 as discovered by Serge in https://github.com/lsst/sphgeom/pull/1
Alternatives seem to be stdint.h or boost/cstdint.hpp.
Powered by a free Atlassian Confluence Community License granted to LSST. Evaluate Confluence today.