We are going to win! wohoo

Dependencies:   mbed mbed-rtos

Committer:
madcowswe
Date:
Wed Nov 14 17:15:53 2012 +0000
Revision:
9:08552997b544
Parent:
1:6799c07fe510
Added an important comment

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sv 1:6799c07fe510 1 /*
sv 1:6799c07fe510 2 * Tiny Vector Matrix Library
sv 1:6799c07fe510 3 * Dense Vector Matrix Libary of Tiny size using Expression Templates
sv 1:6799c07fe510 4 *
sv 1:6799c07fe510 5 * Copyright (C) 2001 - 2007 Olaf Petzold <opetzold@users.sourceforge.net>
sv 1:6799c07fe510 6 *
sv 1:6799c07fe510 7 * This library is free software; you can redistribute it and/or
sv 1:6799c07fe510 8 * modify it under the terms of the GNU Lesser General Public
sv 1:6799c07fe510 9 * License as published by the Free Software Foundation; either
sv 1:6799c07fe510 10 * version 2.1 of the License, or (at your option) any later version.
sv 1:6799c07fe510 11 *
sv 1:6799c07fe510 12 * This library is distributed in the hope that it will be useful,
sv 1:6799c07fe510 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
sv 1:6799c07fe510 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
sv 1:6799c07fe510 15 * Lesser General Public License for more details.
sv 1:6799c07fe510 16 *
sv 1:6799c07fe510 17 * You should have received a copy of the GNU Lesser General Public
sv 1:6799c07fe510 18 * License along with this library; if not, write to the Free Software
sv 1:6799c07fe510 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
sv 1:6799c07fe510 20 *
sv 1:6799c07fe510 21 * $Id: config-icc.h,v 1.12 2007-06-23 15:58:59 opetzold Exp $
sv 1:6799c07fe510 22 */
sv 1:6799c07fe510 23
sv 1:6799c07fe510 24 #ifndef TVMET_CONFIG_ICC_H
sv 1:6799c07fe510 25 #define TVMET_CONFIG_ICC_H
sv 1:6799c07fe510 26
sv 1:6799c07fe510 27 #if defined(__INTEL_COMPILER)
sv 1:6799c07fe510 28
sv 1:6799c07fe510 29 /* isnan/isinf hack
sv 1:6799c07fe510 30 *
sv 1:6799c07fe510 31 * The problem is related intel's 8.0 macros isnan and isinf,
sv 1:6799c07fe510 32 * they are expanded in this version and they are not compileable
sv 1:6799c07fe510 33 * therefore. We use a small hack here - disabling. This is
sv 1:6799c07fe510 34 * not an real solution, nor forever.
sv 1:6799c07fe510 35 * For a list of all defined symbols use icpc -E -dM prog1.cpp
sv 1:6799c07fe510 36 * or read /opt/intel/compiler80/doc/c_ug/index.htm.
sv 1:6799c07fe510 37 */
sv 1:6799c07fe510 38 # if (__INTEL_COMPILER == 800) || (__INTEL_COMPILER > 800)
sv 1:6799c07fe510 39 # define TVMET_NO_IEEE_MATH_ISNAN
sv 1:6799c07fe510 40 # define TVMET_NO_IEEE_MATH_ISINF
sv 1:6799c07fe510 41 # endif
sv 1:6799c07fe510 42
sv 1:6799c07fe510 43
sv 1:6799c07fe510 44 /*
sv 1:6799c07fe510 45 * disable compiler warnings
sv 1:6799c07fe510 46 */
sv 1:6799c07fe510 47 # pragma warning(disable:981) // operands are evaluated in unspecified order
sv 1:6799c07fe510 48
sv 1:6799c07fe510 49
sv 1:6799c07fe510 50 /*
sv 1:6799c07fe510 51 * force inline using gcc's compatibility mode
sv 1:6799c07fe510 52 */
sv 1:6799c07fe510 53 # if (__INTEL_COMPILER == 800) || (__INTEL_COMPILER > 800)
sv 1:6799c07fe510 54 # define TVMET_CXX_ALWAYS_INLINE __attribute__((always_inline))
sv 1:6799c07fe510 55 # endif
sv 1:6799c07fe510 56
sv 1:6799c07fe510 57 #else // !defined(__INTEL_COMPILER)
sv 1:6799c07fe510 58
sv 1:6799c07fe510 59 // paranoia
sv 1:6799c07fe510 60 # warning "config header included without defined __INTEL_COMPILER"
sv 1:6799c07fe510 61
sv 1:6799c07fe510 62 #endif
sv 1:6799c07fe510 63
sv 1:6799c07fe510 64 #endif // TVMET_CONFIG_ICC_H
sv 1:6799c07fe510 65
sv 1:6799c07fe510 66 // Local Variables:
sv 1:6799c07fe510 67 // mode:C++
sv 1:6799c07fe510 68 // tab-width:8
sv 1:6799c07fe510 69 // End: