Article View: gnu.gcc.bug
Article #1080Re: Using g++2.1 with standard C library on SunOS 4.1.1 Rev B.
From: h.b.furuseth
Date: Mon, 07 Sep 1992 15:04
Date: Mon, 07 Sep 1992 15:04
21 lines
1389 bytes
1389 bytes
In article <9209050116.AA04670@skipsun.UUCP> skip@skipsun.UUCP (Skip Gilbrech) writes: > I would really appreciate (as would I'm > quite sure many others) a command-line _option_ to totally disable > built-in functions (and their prototypes). I'd like builtins to have _default_ prototypes: `implicit declaration of function BUILTIN' would give BUILTIN another type than int(). Gcc could also check that any explicit or `implicit int()' declaration gives the same call sequence as the built-in declaration - the program has a bug otherwise. Maybe -ansi -pedantic would warn about `conflicting types for built-in function'. This would still not accept `double memcpy(int, char *);' gracefully, but I wouldn't trust a program which did that anyway. An option to disable built-in functions would be nice in a few cases (ie to use "debug" versions of the built-ins), but it would usually not be necessary. Hallvard
Technical Details
Message-ID:
<9209071104.AAdurin14087@durin.uio.no>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!usit.uio.NO!h.b.furusethReferences:
h.b.furuseth@usit.uio.NOShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!usit.uio.NO!h.b.furuseth From: h.b.furuseth@usit.uio.NO Subject: Re: Using g++2.1 with standard C library on SunOS 4.1.1 Rev B. Message-ID: <9209071104.AAdurin14087@durin.uio.no> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: h.b.furuseth@usit.uio.NO Distribution: gnu Date: Mon, 7 Sep 1992 15:04:41 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 22