|
Boost-Commit : |
From: thomas.klimpel_at_[hidden]
Date: 2008-05-22 05:09:12
Author: klimpel
Date: 2008-05-22 05:09:12 EDT (Thu, 22 May 2008)
New Revision: 45641
URL: http://svn.boost.org/trac/boost/changeset/45641
Log:
Add Georg Baum's override capability for Fortran naming.
[email to ublas list at 2007-04-25 02:40:38]
Text files modified:
sandbox/boost/numeric/bindings/traits/fortran.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Modified: sandbox/boost/numeric/bindings/traits/fortran.h
==============================================================================
--- sandbox/boost/numeric/bindings/traits/fortran.h (original)
+++ sandbox/boost/numeric/bindings/traits/fortran.h 2008-05-22 05:09:12 EDT (Thu, 22 May 2008)
@@ -9,6 +9,11 @@
#ifndef BOOST_NUMERIC_BINDINGS_TRAITS_FORTRAN_H
#define BOOST_NUMERIC_BINDINGS_TRAITS_FORTRAN_H
+#if defined(BIND_FORTRAN_LOWERCASE_UNDERSCORE) || defined(BIND_FORTRAN_LOWERCASE)
+// Allow manual override of the defaults, e.g. if you want to use a fortran
+// lib compiled with gcc from MSVC
+#else
+
// First we need to know what the conventions for linking
// C with Fortran is on this platform/toolset
#if defined(__GNUC__) || defined(__ICC) || defined(__sgi) || defined(__COMO__) || defined(__KCC)
@@ -19,6 +24,8 @@
#error do not know how to link with fortran for the given platform
#endif
+#endif
+
// Next we define macro's to convert our symbols to
// the current convention
#if defined(BIND_FORTRAN_LOWERCASE_UNDERSCORE)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk