Overview
Comment: | Declared static functions ((unused)) to eliminate warnings building .oct. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5d445159bf8fe9df760e67783518ee8e |
User & Date: | geraint@users.sourceforge.net on 2001-03-24 23:13:56 |
Other Links: | branch diff | manifest | tags |
Context
2001-03-26
| ||
15:42:16 | This missing transformation added check-in: b0c230d332 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2001-03-24
| ||
23:13:56 | Declared static functions ((unused)) to eliminate warnings building .oct. check-in: 5d445159bf user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2001-03-23
| ||
14:58:16 | Fixed cosmetic bugs -- component display check-in: dc4cb529ab user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/cc/include/useful-functions.hh from [6bacf30342] to [3c59bd0844].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | + + + + + + + + + - + + + - + - + + + + - + + + - + - + - + | #ifndef HAVE_USEFUL_FUNCTIONS_HH #define HAVE_USEFUL_FUNCTIONS_HH #ifdef __CPLUSPLUS template <class class_t> #else #define inline // strip from pre-processed file #define class_t double #endif // __CPLUSPLUS #ifndef MTT_UNUSED #ifdef __GNUC__ #define MTT_UNUSED __attribute__ ((unused)) #else #define MTT_UNUSED #endif // __GNUC__ #endif // MTT_UNUSED // == Template functions == static inline class_t max (const class_t &x1, const class_t &x2) MTT_UNUSED; static inline class_t min (const class_t &x1, const class_t &x2) MTT_UNUSED; |