sutela@utu.fi (Kari Sutela) (03/17/90)
Well, here are some bugs that I have found in the 5.0 release which I haven't
seen anyone else mentioning.
1. Redefining a macro is unsuccessful. I'll get the compiler warning, but the
old value is still used. Example:
#define VAL 1
#define VAL 2
main()
{
printf( "%d\n",VAL);
}
2. Passing structs as arguments is unsuccessful. All arguments after the struct
have unexpected values. It looks like the stack got confused at this point:
struct st {
int x;
int y;
};
void fetch( struct st, int x, int y )
{
printf( "x is %d, y is %d\n", x, y );
}
main()
{
struct st a_st;
fetch(a_st,1,1);
}
3. I'm not sure if this can be considered a bug, but using a precompiled
header file enables one to use ALL definitions in the precompiled header
without ever #including them.
4. SDB occasionally 'hangs up': it won't display the source and after a few
seconds the whole display will turn blue (no GURU). After a reboot I can use
SDB on the same program which caused the problem.
5. Single-stepping through an OpenWindow() call (with SDB) is incredibly slow.
It can take tens of seconds for a large window to open. My machine is a PAL-
Amiga, so perhaps you NTSC-folks won't see these last two problems.
I have reported these bugs to Manx, but haven't heard anything from them, yet.
Kari Sutela sutela@polaris.utu.fi
PS. I just recieved the new Libs&Devs, and would like to take this opportunity
to congratulate the folks at CATS for a superb job. I particularly like the
Glossary entry for IntuiMessage: "...the message is the medium in this case".
Even now I can't help laughing.