Re: DEC cxx success

From: Todd Veldhuizen (tveldhui@oonumerics.org)
Date: Mon Jun 15 1998 - 11:41:55 EST


Forwarded message:
>From matthias@anaconda.ica1.uni-stuttgart.de Tue Apr 14 16:16:43 1998
Date: Tue, 14 Apr 1998 22:14:22 +0200 (MET DST)
Message-Id: <199804142014.WAA09996@anaconda.ica1.uni-stuttgart.de>
From: Matthias Mueller <matthias@ica1.uni-stuttgart.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Todd Veldhuizen <tveldhui@oonumerics.org>
cc: matthias@anaconda.ica1.uni-stuttgart.de
Subject: Re: BLITZ: New release: Blitz++ 0.2-alpha-06
In-Reply-To: <199804141742.NAA22704@oonumerics.org>
References: <199804141737.TAA08740@anaconda.ica1.uni-stuttgart.de>
        <199804141742.NAA22704@oonumerics.org>
X-Mailer: VM 6.22 under 19.15 XEmacs Lucid

Hi Todd,

all checks compiled, promote seems to fail. I don't know why yet.

Concerning the enums I will write a bug report.

There were a few minor problems with the testsuite:
in derrick-bass-1.cpp and promote.cpp I added #ifdefs for BZ_HAVE_STD:
#ifdef BZ_HAVE_STD
#include <iostream>
#else
#include <iostream.h>
#endif

in qcd.cpp similar:
#ifdef BZ_HAVE_STD
#include <iostream>
BZ_USING_NAMESPACE(std)
#else
#include <iostream.h>
#endif

This was easy to detect, cause cxx complains about including
iostream.h when used with "-std strict_ansi".

I made an #undef BZ_HAVE_COMPLEX to avoid inclusion of <cmath>.
bzconfig delivers BZ_HAVE_COMPLEX SUCCESS. This was the easiest fix.

Matthias

here the infos to add cxx to the compiler list:
Compiler Name:
cxx -V reports:
DIGITAL C++ V6.0-010 on DIGITAL UNIX V4.0
$ diff configure.in configure.in.old
97,104d96
< DECcxx) # DEC C++ http://www.digital.com/
< echo "Configuring for DEC cxx"
< bz_compiler=cxx
< CXX=cxx
< CXXFLAGS="-std strict_ansi"
< CXX_OPTIMIZE_FLAGS="-O4 -tune host -std strict_ansi"
< CXX_DEBUG_FLAGS="-g -w0 -msg_display_tag -DBZ_DEBUG -std strict_ansi"
< ;;

/******************************************************************************
 * config.h Compiler language support flags
 *
 * This file was generated automatically by the script bzconfig.
 * You should rerun bzconfig each time you switch compilers, install new
 * standard libraries, or change compiler versions.
 *
 */

 
#ifndef BZ_CONFIG_H
#define BZ_CONFIG_H
 
#define BZ_COMPILER_NAME "cxx"
#define BZ_COMPILER_OPTIONS "-std strict_ansi"
#define BZ_OS_NAME "OSF1 V4.0"
#define BZ_BZCONFIG_DATE "Tue Apr 14 20:08:48 MET DST 1998"
 
#define BZ_NAMESPACES
#define BZ_EXCEPTIONS
#define BZ_RTTI
#define BZ_MEMBER_CONSTANTS
#undef BZ_OLD_FOR_SCOPING
#define BZ_EXPLICIT
#define BZ_MUTABLE
#define BZ_TYPENAME
#undef BZ_NCEG_RESTRICT
#define BZ_BOOL
#define BZ_CONST_CAST
#define BZ_STATIC_CAST
#define BZ_REINTERPRET_CAST
#define BZ_DYNAMIC_CAST
#define BZ_TEMPLATES
#define BZ_PARTIAL_SPECIALIZATION
#define BZ_PARTIAL_ORDERING
#define BZ_DEFAULT_TEMPLATE_PARAMETERS
#define BZ_MEMBER_TEMPLATES
#define BZ_MEMBER_TEMPLATES_OUTSIDE_CLASS
#define BZ_FULL_SPECIALIZATION_SYNTAX
#define BZ_FUNCTION_NONTYPE_PARAMETERS
#undef BZ_TEMPLATE_QUALIFIED_BASE_CLASS
#undef BZ_TEMPLATE_QUALIFIED_RETURN_TYPE
#undef BZ_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION
#undef BZ_TEMPLATES_AS_TEMPLATE_ARGUMENTS
#undef BZ_TEMPLATE_KEYWORD_QUALIFIER
#undef BZ_TEMPLATE_SCOPED_ARGUMENT_MATCHING
#define BZ_TYPE_PROMOTION
#undef BZ_USE_NUMTRAIT
#undef BZ_HAVE_COMPLEX
#define BZ_HAVE_NUMERIC_LIMITS
#define BZ_HAVE_VALARRAY
#undef BZ_HAVE_COMPLEX_MATH
#undef BZ_HAVE_IEEE_MATH
#undef BZ_HAVE_SYSTEM_V_MATH
#define BZ_HAVE_STD
#define BZ_HAVE_RUSAGE
#define BZ_ENUM_COMPUTATIONS
 
#endif // BZ_CONFIG_H

-- 
+-----------------------------------------------------------------------+
| Matthias Mueller                    matthias@ica1.uni-stuttgart.de    |
|                         http://www.ica1.uni-stuttgart.de/~matthias    |
+-----------------------------------------------------------------------+
|        ICA 1, Pfaffenwaldring 27, D-70569 Stuttgart (Germany)         |
|           Tel. 49-(0)711/685-7606, Fax. 49-(0)711/685-3658            |
+-----------------------------------------------------------------------+



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 04:30:04 EST