![]() |
Blitz Support : |
From: Julian C. Cummings (cummings_at_[hidden])
Date: 2004-02-05 15:23:09
Hi Guys,
I'll have to examine the sourceforge site and see why I got no notification
of Xavier's message about this problem. Anyway, I can look into this issue.
Currently, blitz is doing the dumb thing, which is to do a "using namespace
std;" so that std::complex is available in the global namespace. Not sure
why that isn't working under icc, but I will look into it. One thing on the
TODO list is proper namespace handling in blitz.
Regards, Julian C.
Dr. Julian C. Cummings
Staff Scientist, CACR/Caltech
(626) 395-2543
cummings_at_[hidden]
> -----Original Message-----
> From: blitz-support-bounces_at_[hidden]
> [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> Xavier WARIN(Compte LOCAL) - I23
> Sent: Sunday, February 01, 2004 11:02 PM
> To: Support list for Blitz++
> Subject: Re: [Blitz-support] Fwd: blitz cvs with intel 7.1
> icc problems?
>
>
> Hi Markus,
>
>
> I already mentioned this problem 8 days ago on sourceforge. But it
> hasn't been solved yet.
> I can' even compile the library (i.e global.cpp) : i get the same
> message error.
>
> Xavier
>
>
> Markus Christen wrote:
> > SORRY: for unintended cross-posting (to oon-list)
> > it belongs here ;->
> >
> > compiling blitz cvs version (Feb 01 11:10)
> > with Intel C++ compiler
> >
> > Intel(R) C++ Compiler for 32-bit applications, Version 7.1
> Build 20030307Z
> > Copyright (C) 1985-2003 Intel Corporation. All rights
> reserved. FOR
> > NON-COMMERCIAL USE ONLY
> >
> > ../../blitz/promote.h(68): error: complex is not a template
> > BZ_DECLARE_PRECISION(complex<float>,800)
> >
> > => problem: std:: or using namespace std; missing.
> > i edited a couple of files adding std:: to all complex<> and string
> > declarations,
> >
> > but then:
> >
> > ../../blitz/array/ops.h(95): error: space required between adjacent
> > ">" delimite rs of nested template argument lists (">>" is
> the right
> > shift operator)
> > BZ_DECLARE_ARRAY_ET_SCALAR_OPS(std::complex<float>)
> > ^
> >
> > i quickly looked at the code, but as it is macro using
> other macro i
> > could not come up with a quick fix...
> >
> > anybody else seeing this???
> >
> >
> > (BTW:
> > later error:
> >
> > ../../blitz/funcs.h(171): error: invalid partial specialization --
> > class
> > "blitz:
> > :Fn_cos<<error-type>>" is already fully specialized
> > BZ_DEFINE_UNARY_CFUNC(Fn_cos,BZ_CMATHFN_SCOPE(cos))
> > ^
> >
> > )
> >
> >
> > if more information required please ask.
> > (linux is lfs ~5.0)
> >
> > thanks a lot!
> > markus
> >
> >
>
>
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi> /blitz-support
>