source: trunk/cppad/local/undef.hpp @ 3320

Last change on this file since 3320 was 3320, checked in by bradbell, 6 years ago
  1. g++ 4.8.2 has shadow warnings by default, but eigen and fadbad do not

these warnings, so supress then in these cases.

  1. Move check that arguments come before result into on place,

CPPAD_ASSERT_ARG_BEFORE_RESULT (only one argument case so far).

main.cpp: fix shadowing of index variable.
CMakeLists.txt: adapt to change in teuchos library name.
sparse_jacobian.cpp: fix a shadowed variable.
check_svn_id.sh: ignore svn_commit.sh.
gpl_license.sh: ignore svn_commit.sh.

  • Property svn:keywords set to Id
File size: 3.7 KB
Line 
1/* $Id: undef.hpp 3320 2014-09-11 23:06:21Z bradbell $ */
2# ifndef CPPAD_UNDEF_INCLUDED
3# define CPPAD_UNDEF_INCLUDED
4
5/* --------------------------------------------------------------------------
6CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
7
8CppAD is distributed under multiple licenses. This distribution is under
9the terms of the
10                    Eclipse Public License Version 1.0.
11
12A copy of this license is included in the COPYING file of this distribution.
13Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
14-------------------------------------------------------------------------- */
15
16/*
17----------------------------------------------------------------------------
18Preprecessor definitions that presist after cppad/cppad.hpp is included:
19
20# undef CPPAD_ASSERT_FIRST_CALL_NOT_PARALLEL used by CPPAD_USER_ATOMIC
21# undef CPPAD_ASSERT_KNOWN needed by cppad_ipopt
22# undef CPPAD_ASSERT_UNKNOWN needed by cppad_ipopt
23# undef CPPAD_HASH_TABLE_SIZE used by test_more/optimize.cpp
24# undef EIGEN_MATRIXBASE_PLUGIN example use of Eigen with CppAD
25
26# undef CPPAD_BOOL_BINARY         in user api
27# undef CPPAD_BOOL_UNARY          in user api
28# undef CPPAD_DISCRETE_FUNCTION   in user api
29# undef CPPAD_EIGENVECTOR         in user api
30# undef CPPAD_INTERNAL_SPARSE_SET in user api
31# undef CPPAD_MAX_NUM_THREADS     in user api
32# undef CPPAD_NULL                in user api
33# undef CPPAD_PACKAGE_STRING      in user api
34# undef CPPAD_TAPE_ADDR_TYPE      in user api
35# undef CPPAD_TAPE_ID_TYPE        in user api
36# undef CPPAD_TESTVECTOR          in user api
37
38# undef CPPAD_TRACK_COUNT    in deprecated api
39# undef CPPAD_TRACK_DEL_VEC  in deprecated api
40# undef CPPAD_TRACK_EXTEND   in deprecated api
41# undef CPPAD_TRACK_NEW_VEC  in deprecated api
42# undef CPPAD_USER_ATOMIC    in deprecated api
43
44# undef CPPAD_TEST_VECTOR     deprecated verssion of CPPAD_TESTVECTOR
45# undef CppADCreateBinaryBool deprecated version of CPPAD_BOOL_BINARY
46# undef CppADCreateDiscrete   deprecated version of CPPAD_DISCRETE_FUNCTION
47# undef CppADCreateUnaryBool  deprecated version of CPPAD_BOOL_UNARY
48# undef CppADTrackCount       deprecated version of CPPAD_TRACK_COUNT
49# undef CppADTrackDelVec      deprecated version of CPPAD_TRACK_DEL_VEC
50# undef CppADTrackExtend      deprecated version of CPPAD_TRACK_EXTEND
51# undef CppADTrackNewVec      deprecated version of CPPAD_TRACK_NEW_VEC
52# undef CppADvector           deprecated version of CPPAD_TEST_VECTOR
53
54// for conditional testing when implicit conversion is not present
55# undef CPPAD_IMPLICIT_CTOR_FROM_ANY_TYPE
56-----------------------------------------------------------------------------
57*/
58// Preprecessor definitions that do not presist
59# undef CPPAD_ASSERT_NARG_NRES
60# undef CPPAD_ASSERT_NOT_PARALLEL
61# undef CPPAD_ASSERT_ARG_BEFORE_RESULT
62# undef CPPAD_BOOSTVECTOR
63# undef CPPAD_COND_EXP
64# undef CPPAD_COND_EXP_BASE_REL
65# undef CPPAD_COND_EXP_REL
66# undef CPPAD_CPPADVECTOR
67# undef CPPAD_FOLD_AD_VALUED_BINARY_OPERATOR
68# undef CPPAD_FOLD_ASSIGNMENT_OPERATOR
69# undef CPPAD_FOLD_BOOL_VALUED_BINARY_OPERATOR
70# undef CPPAD_FOR_JAC_SWEEP_TRACE
71# undef CPPAD_HAS_COLPACK
72# undef CPPAD_HAS_RVALUE
73# undef CPPAD_HAS_GETTIMEOFDAY
74# undef CPPAD_HAS_NULLPTR
75# undef CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
76# undef CPPAD_MAX_NUM_CAPACITY
77# undef CPPAD_MIN_DOUBLE_CAPACITY
78# undef CPPAD_OP_CODE_TYPE
79# undef CPPAD_REVERSE_SWEEP_TRACE
80# undef CPPAD_REV_HES_SWEEP_TRACE
81# undef CPPAD_REV_JAC_SWEEP_TRACE
82# undef CPPAD_SIZE_T_SAME_UNSIGNED_INT
83# undef CPPAD_STANDARD_MATH_UNARY
84# undef CPPAD_STANDARD_MATH_UNARY_AD
85# undef CPPAD_STDVECTOR
86# undef CPPAD_TRACE_CAPACITY
87# undef CPPAD_TRACE_THREAD
88# undef CPPAD_TRACK_DEBUG
89# undef CPPAD_USER_MACRO
90# undef CPPAD_USER_MACRO_ONE
91# undef CPPAD_USER_MACRO_TWO
92# undef CPPAD_VEC_AD_COMPUTED_ASSIGNMENT
93
94# endif
Note: See TracBrowser for help on using the repository browser.