This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-2.91.66
- To: bug-gcc at gnu dot org
- Subject: egcs-2.91.66
- From: Inaki Rano <inaki at miramon dot es>
- Date: Wed, 20 Sep 2000 01:09:42 +0200
Hi there,
I got a problem compiling a program, I didn't found it on the first
look at the bugs page. I had a C++ code like:
dummy.H:
typedef struct {
char char_data;
int int_data;
...
} my_struct,*my_struct_ptr;
class my_class {
private:
my_struct_ptr struct_data;
public:
void foo() { if (struct_data->char_daat) do_something();} [*]
};
[*] Just an type error wrote char_daat instead of char_data.
I got a compiler error instead of something like "structure has no
member named `char_daat'". Maybe it's a known error and we are just
wasting time, so ...
See u < Inaki.