aboutsummaryrefslogtreecommitdiff
path: root/src/test228.c
AgeCommit message (Collapse)Author
2018-09-18Do not install projects.hKristian Evers
In version 6 we stop exposing the deprecated projects.h API to the world outside PROJ. Closes #835
2018-03-11Remove angle brackets for proj headers (#849)Thomas Knudsen
* Avoid using angle brackets for PROJ headers. Switching from #include <proj.h> to #include "proj.h", and correspondingly for projects.h and proj_api.h, reduces the risk of accidentally picking up a system installed older version of the header while building a new version of PROJ. * Also handle geodesic.h
2017-12-17Declare non-local variables as const where possibleAaron Puchert
Having non-const variables of static lifetime or even global scope is usually a bad idea. These variables are inherently constants, and this should be enforced. This required marking some functions as not modifying input parameters and marking some pointers as pointers to const. One advantage is that the compiler usually puts const static variables in a read-only code segment, so they can't be modified physically. This can be verified with `nm` (on POSIX systems). To avoid changes to the public API, functions returning non-const pointers to data tables were left intact, but the returned data may not be modified. Internally we prefer using the proj_list_* functions over the pj_get_*_ref functions, because the former return const pointers.
2017-10-06Enable address sanitizer in linux/clang buildThomas Knudsen
Elim some leaks by initializing PJ.destructor in PJ_ob_tran.c properly Avoid tests bombing when built with address sanitizer: Repair memory leak in test228.c Avoid tests bombing when built with address sanitizer: Repair memory leak in multistresstest.c
2017-02-27test228.c: remove unused arguments in main()Even Rouault
2017-02-26test228.c: warning fixesEven Rouault
2016-05-11Yet another round of minor correctionsThomas Knudsen
A few args had gone missing in the test setups for lagrng, ob_tran, omerc, mod_ster. A mixed declarations and code case corrected in proj_rouss A missing include added to test228.c
2015-07-09Improve multistresstest.c (and run it with Travis) and test228.cEven Rouault
2014-08-19Make pj_gridinfo_load() thread-safe (#228)Even Rouault
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2488 4e78687f-474d-0410-85f9-8d5e500ac6b2