delorie.com/archives/browse.cgi | search |
From: | "Ed Manlove" <emanlove AT ieee DOT org> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <E1ko9.403$Od5 DOT 125528170 AT news DOT netcarrier DOT net> |
Subject: | Re: `operator new' takes type `size_t' as first parameter Revisited |
Lines: | 85 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
Message-ID: | <R5Go9.414$bL6.131337260@news.netcarrier.net> |
Date: | Tue, 8 Oct 2002 15:39:13 -0400 |
NNTP-Posting-Host: | 207.207.243.195 |
X-Complaints-To: | news AT netcarrier DOT com |
X-Trace: | news.netcarrier.net 1034104305 207.207.243.195 (Tue, 08 Oct 2002 15:11:45 EDT) |
NNTP-Posting-Date: | Tue, 08 Oct 2002 15:11:45 EDT |
Organization: | NetCarrier Internet Services |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Searching for int size_t, and a possible reason why the size_t type might be redefined, returns the following Searching for 'int size_t'... c:\DJGPP\include\sys\djtypes.h(11):#define __DJ_size_t typedef long unsigned int size_t; c:\DJGPP\include\sys\djtypes.h~(11):#define __DJ_size_t typedef long unsigned int size_t; c:\DJGPP\gnu\binutl-2.121\ld\testsuite\ld-cdtest\cdtest-foo.cc(11):typedef unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\SYSCALLS.i(136):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\cccp.i(2351):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\cppinit.i(2350):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\fix-header.i(2402):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\fixinc.sh(2226): sed -e /^[ ]*\*[ ]*typedef unsigned int size_t;/N' \ c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\fixinc.sh(2227): -e s/^\([ ]*\*[ ]*typedef unsigned int size_t;\n[ ]*\*\/\)/\1\ c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\gcc.i(2363):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\gencheck.i(2350):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\libgcc2.i(2129):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\prefix.i(2395):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\protoize.i(2388):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\tinfo.ii(105):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\toplev.i(2357):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\build.djg\gcc\unprotoize.i(2390):typedef long unsigned int size_t; c:\DJGPP\gnu\gcc-2.952\gcc\fixincludes(409): -e '/^[ ]*\*[ ]*typedef unsigned int size_t;/N' \ c:\DJGPP\gnu\gcc-2.952\gcc\fixincludes(410): -e s/^\([ ]*\*[ ]*typedef unsigned int size_t;\n[ ]*\*\/\)/\1\ c:\DJGPP\gnu\gcc-2.952\gcc\config\m68k\xm-plexus.h(4):typedef int size_t; c:\DJGPP\gnu\gcc-2.952\gcc\fixinc\fixincl.x(2688): "-e", "/^[ \t]*\\*[ \t]*typedef unsigned int size_t;/N", c:\DJGPP\gnu\gcc-2.952\gcc\fixinc\fixincl.x(2689): "-e", "s/^\\([ \t]*\\*[ \t]*typedef unsigned int size_t;\\n[ \t]*\\*\\/\\)/\\1\\\n\ c:\DJGPP\gnu\gcc-2.952\gcc\fixinc\inclhack.def(1910): sed = "/^[ \t]*\\*[ \t]*typedef unsigned int size_t;/N"; c:\DJGPP\gnu\gcc-2.952\gcc\fixinc\inclhack.def(1912): sed = "s/^\\([ \t]*\\*[ \t]*typedef unsigned int size_t;\\n" c:\DJGPP\gnu\gcc-2.952\gcc\fixinc\inclhack.sh(2226): sed -e /^[ ]*\*[ ]*typedef unsigned int size_t;/N' \ c:\DJGPP\gnu\gcc-2.952\gcc\fixinc\inclhack.sh(2227): -e s/^\([ ]*\*[ ]*typedef unsigned int size_t;\n[ ]*\*\/\)/\1\ c:\DJGPP\gnu\gcc-2.952\libgpp\test-install\Foo.cc(11):typedef unsigned int size_t; c:\DJGPP\build\binutils-2.10.1\ld\testsuite\ld-cdtest\cdtest-foo.cc(11):type def unsigned int size_t; c:\DJGPP\build\gcc-2.95.2\gcc\fixincludes(409): -e /^[ ]*\*[ ]*typedef unsigned int size_t;/N' \ c:\DJGPP\build\gcc-2.95.2\gcc\fixincludes(410): -e s/^\([ ]*\*[ ]*typedef unsigned int size_t;\n[ ]*\*\/\)/\1\ c:\DJGPP\build\gcc-2.95.2\gcc\config\m68k\xm-plexus.h(4):typedef int size_t; c:\DJGPP\build\gcc-2.95.2\gcc\fixinc\fixincl.x(2688): "-e", "/^[ \t]*\\*[ \t]*typedef unsigned int size_t;/N", c:\DJGPP\build\gcc-2.95.2\gcc\fixinc\fixincl.x(2689): "-e", "s/^\\([ \t]*\\*[ \t]*typedef unsigned int size_t;\\n[ \t]*\\*\\/\\)/\\1\\\n\ c:\DJGPP\build\gcc-2.95.2\gcc\fixinc\inclhack.def(1910): sed = "/^[ \t]*\\*[ \t]*typedef unsigned int size_t;/N"; c:\DJGPP\build\gcc-2.95.2\gcc\fixinc\inclhack.def(1912): sed = "s/^\\([ \t]*\\*[ \t]*typedef unsigned int size_t;\\n" c:\DJGPP\build\gcc-2.95.2\gcc\fixinc\inclhack.sh(2226): sed -e /^[ ]*\*[ ]*typedef unsigned int size_t;/N' \ c:\DJGPP\build\gcc-2.95.2\gcc\fixinc\inclhack.sh(2227): -e s/^\([ ]*\*[ ]*typedef unsigned int size_t;\n[ ]*\*\/\)/\1\ 37 occurrence(s) have been found. It looks like there are several typedef unsigned int size_t in the fixit files which I am not quite sure why there are there and if it gets invoked during configure of make for gcc 2.95.2 with a target of h8300-hitachi-hms Ed
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |