🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #18

Re: ctype.h problems

#18
From: bothner
Date: Sun, 05 Apr 1992 15:49
19 lines
1069 bytes
sjg@melb.bull.oz.au (Simon J Gerraty) writes:
>One suggestion was:
>#include_next <ctype.h>
...
>On other machines such as the sun386, the system's ctype.h is
>not ANSI compatible (toupper,tolower are macros with side
>effects) and cannot be used.

It follows that such a ctype.h cannot be used for C programs.
Why should I add to my maintainance problems in order to
make ANSI *C* header files work better for g++ than for gcc?

>Please don't do this.

Sorry.  I suggest you fix the C header files (copy the fixed version
where gcc fixincludes installs things) - or get a new C library.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
Technical Details
Message-ID: <9204060549.AA05754@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
References: <1992Apr6.015652.7021@melb.bull.oz.au>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
From: bothner@cygnus.com
Subject: Re: ctype.h problems
Message-ID: <9204060549.AA05754@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <1992Apr6.015652.7021@melb.bull.oz.au>
Distribution: gnu
Date: Sun, 5 Apr 1992 15:49:45 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 20