This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-2.91.66



	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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]