Mail Archives: djgpp/2000/08/11/05:12:59
"Mark E." schrieb:
> >e:/djgpp/bin/ld.exe: Warning: type of symbol `_head' changed from 14 to 24 in gl
> >obals.o
> >
> >What does that mean? Is it dangerous? Thanks for help.
>
> The symbol type field in the COFF debug info has somehow changed. 14 is the code for
> unsigned int, but 24 doesn't exist in the references that I checked. This warning
^^^^^^^^^^^^
> probably isn't dangerous, but just the same if you can boil it down to a simple
> testcase that you can post that shows the problem, I'd appreciate it.
unfortunetaly the proj is huge, and that warning popped up from one minute to
the other, after some minor changes in the sources, so I don't know wher to
start boiling down.
shuodn't the COFF debug info be O.K. when I recompile everything?
perhaps gcc or ld is broken. I will try to reinstall. Thanks anyway, but
unsigned int? strange. I post the derclaration snippet of variable head below
#ifdef GLOBALS_G
#define vextern
#else
#define vextern extern
#endif
typedef struct element
{
char strng[MAX_FIELD_SIZE + 1];
struct element *prec;
struct element *next;
struct element *fold;
struct element *other_end;
BOOL selected;
BOOL file_changed;
uchar foldline;
uchar fold_close_line;
union
{
struct
{
int indent;
int fold_indent;
int fold_type;
int fold_contents;
} U1;
struct
{
int int1;
int int2;
} U0;
} UU;
} element;
vextern element *head, *tail, *current, *select_ptr, *screen_start,
*screen_end, *null_item_ptr, *deleted_line_ptr,
*buff_start_ptr, *buff_end_ptr, *real_head, *real_tail;
Note that ld only warns about _head, but not about _tail etc.
--
Gruss Waldemar Schultz.
Technische Universität München, Zentrum Mathematik M1, D 80290 München
Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228
- Raw text -