aboutsummaryrefslogtreecommitdiff
path: root/src/multistresstest.c
AgeCommit message (Collapse)Author
2018-09-18Only allow usage of proj_api.h if explicit consent was givenKristian Evers
We want to flag that proj_api_h is now deprecated. With this commit it is now mandatory to #define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H before proj_api.h can be included. proj_api.h is used internally a bunch of places. Therefore ACCEPT_USE_OF_DEPRECATED_PROJ_API_H has been defined in projects.h and a few other necessary files to ensure that PROJ compiles. Closes #836
2018-03-11mingw32 travis: reduce number of iterations for multistresstestEven Rouault
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-12-17Add -std=c89 to travis targets.Kristian Evers
The multistresstest code has been made C89 compliant in the process.
2017-12-17Normalize whitespace in multistresstest.cKristian Evers
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-26multistresstest.c: warning fixesEven Rouault
2015-07-09Improve multistresstest.c (and run it with Travis) and test228.cEven Rouault
2015-07-09Make multistresstext.exe compile, and work, with mingw cross compiler ↵Even Rouault
(autoconf build)
2015-07-09Add multistresstest.exe target to makefile.vcEven Rouault
2014-08-19multistresstest.c: fix a few warnings on PosixEven Rouault
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2487 4e78687f-474d-0410-85f9-8d5e500ac6b2
2013-06-26fix up white space formattingFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2366 4e78687f-474d-0410-85f9-8d5e500ac6b2
2013-06-26add windows build support for multistresstest (#199)Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2365 4e78687f-474d-0410-85f9-8d5e500ac6b2
2012-02-27added optional multistresstest target, slightly extended multistresstestFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2174 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-06-11preliminary implementation of projCtx APIFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1854 4e78687f-474d-0410-85f9-8d5e500ac6b2
2010-03-16added multistresstestFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1830 4e78687f-474d-0410-85f9-8d5e500ac6b2