www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/07/16:01:54

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "deckerben" <deckerben AT freenet DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: compiling CINT - advice on size_t
Date: Thu, 7 Mar 2002 22:08:12 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 27
Message-ID: <3c87d364$0$167$9b622d9e@news.freenet.de>
NNTP-Posting-Host: 213.7.10.78
X-Trace: 1015534436 news.freenet.de 167 213.7.10.78
X-Complaints-To: abuse AT freenet DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have sinned. I have edited one of the DJGPP header files, specifically
stddef.h.
I was compiling CINT (do you know it ??) under DJGPP and the make ended
midstream when it needed to link with stddef.h - saying that size_t was
undefined.

So I did a little bit of looking in the internet and saw that it could be
defined as follows:
#undef size_t
#define size_t 42

You know what I did next, right?
Well, it seemed to work. CINT.exe runs good (so far :-)

Now my question to the think-tank:
What is size_t? Can I leave stddef.h changed, or should I could my blessings
and change it back again?
YES \ NO and WHY, please I ask
    No big problems this time -just would like some input - could prevent
problems down the road...

Thanks,
Ben




- Raw text -


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