ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to print/fix <incomplete type> variables


From: Charlie Zender
Subject: How to print/fix <incomplete type> variables
Date: Fri, 27 Jul 2001 10:14:20 -0700

Hi,

I'm using DDD 3.2.91 on a RedHat GNU/Linux 7.0 system to debug
C++ source code compiled with g++-2.96. When I try to print in
DDD the values of variables declared as intrinsic type float_complex, 
I get the error message that the variable is of <incomplete type>.
How do I fix/workaround this message? What does "incomplete type"
mean? I couldn't find it in the DDD manual.

Thanks,
Charlie

#include <iostream>
#include <complex>

int main()
{
 float_complex cpx=(0.0,0.0);
 cout << "cpx = " << cpx << endl;
}

-- 
Charlie Zender address@hidden (949) 824-2987/FAX-3256, Department of
Earth System Science, University of California, Irvine CA 92697-3100
Visiting NCAR CGD Jul 1-Aug 31: Room ML-304A (303) 497-1738/FAX-1324
Work Address: NCAR CGD, 1850 Table Mesa Dr., Boulder, CO, 80303-5602
Home Address: 1135 Albion Way, Boulder CO, 80303, (303) 499-1570



reply via email to

[Prev in Thread] Current Thread [Next in Thread]