www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/11/05:12:59

From: Waldemar Schultz <schultz AT ma DOT tum DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linker warning
Date: Fri, 11 Aug 2000 09:01:20 +0200
Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 62
Message-ID: <3993A4C0.D972C04D@ma.tum.de>
References: <3992D37A DOT D0274FA6 AT ma DOT tum DOT de> <glq5pskesd9njjpdlja7mr1e8pp1q7nd1o AT 4ax DOT com>
NNTP-Posting-Host: pcritter10.mathematik.tu-muenchen.de
Mime-Version: 1.0
X-Trace: wsc10.lrz-muenchen.de 965977296 25650 131.159.69.74 (11 Aug 2000 07:01:36 GMT)
X-Complaints-To: news AT lrz-muenchen DOT de
NNTP-Posting-Date: 11 Aug 2000 07:01:36 GMT
X-Mailer: Mozilla 4.73 [de]C-CCK-MCD DT (Win98; U)
X-Accept-Language: de,en,en-US
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019