473,387 Members | 3,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

confusion with Rogue Wave dcomplex.h

Hello,

I am receiving the following compile-time error:

/opt/include/rw/dcomplex.h line 218 error(1420): argument list for
class template "complex" is missing typedef complex DComplex

when compiling with a MIPSpro c++ compiler on an SGI platform. I see
nothing about the header file that has been modified from its original
state. Also, if the right precompiler conditions are met,
/opt/include/rw/rcomplex.h is included, which has DComplex fleshed
out.

I don't even know where to begin in resolving this problem. Any help
is appreciated.

Don
Jul 22 '05 #1
1 1587
Don Tucker wrote:
I am receiving the following compile-time error:

/opt/include/rw/dcomplex.h line 218 error(1420): argument list for
class template "complex" is missing typedef complex DComplex .. ^^^^^^^^^^^^^^^^^^^^^^^^

when compiling with a MIPSpro c++ compiler on an SGI platform. I see
nothing about the header file that has been modified from its original
state. Also, if the right precompiler conditions are met,
/opt/include/rw/rcomplex.h is included, which has DComplex fleshed
out.

I don't even know where to begin in resolving this problem. Any help
is appreciated.


It looks like the compiler when compiling 'dcomplex.h' knows about
'complex' template from 'std' namespace, but the file 'dcomplex.h'
is written to assume that "complex" is a class and not a template.

If you do

#include <complex>
using namespace std;
typedef complex DComplex;

you will get the same error (probably) on any conforming compiler
because the use of 'complex' requires the template arguments here:

typedef complex<double> DComplex;

I don't know how to resolve your problem, without seeing the Rouge
Wave headers and knowing how compiler gets there it's quite hard.

Do you really have to use Rogue Wave?

Victor
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: david.kettle | last post by:
Hello Python World! I've been playing with the 'wave' and 'audioop' modules in the library, and I have a question. When I tried to read a "wav" file with samples in 32-bit float, I got the...
1
by: Thomas Lenarz | last post by:
Hello, we have got C++-programs (older SUN-Compiler) using the Rogue-Wave-Class-Library and consider to port the application to AIX 5.2 (GNU gcc/g++) The only drawback we could find ist the...
4
by: vikram | last post by:
in a stereo type of wave file i want to know what is this left & right info in a wave file??? how do i read the left & right info from a .wav file to a buffer..
5
by: Old Wolf | last post by:
The following code causes a deallocation of a random amount of bytes, with the Rogue Wave STL supplied with Borland C++ 5.5.1 : #include <vector> int main() { std::vector<char> v, w(1); v =...
0
by: sebor | last post by:
Hi all, The latest release of the Rogue Wave C++ Standard Library, version 4.1.0, has just been released into public domain under the Apache License, version 2.0, as the Apache stdcxx project:...
5
by: prakash.mirji | last post by:
I am using evaluation copy of RW 9.0 for porting one of C++ application on RHEL4 (x86 platform). We are getting some issues into RW template classes. Please need assistance on this issue. Here...
5
by: etoile | last post by:
The code is on a SUN platform. From a detailed design point of view, what is needed to eliminate Rogue Wave from the C++ code. Just scanning for RW in the code, here is a list: RWCstring...
6
by: homevista | last post by:
PART III: Putting things together In part I we examined the modem to verify that it supported voice. If so, we took a note about the voice data format that we would use. In the second part, we...
1
by: Steven Backus | last post by:
I inherited a Solaris c++ program that uses Rogue Wave and am trying to port it to linux. It seg faults in this code: for (int size = entries() - 1; size 1; --size) { RWOrderedIterator...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.