delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Tue, 9 May 2006 12:30:21 -0500 |
From: | JT Williams <jeffw AT darwin DOT sfbr DOT org> |
To: | djgpp AT delorie DOT com |
Subject: | Re: incompatible implicit declaration of built-in function... |
Message-ID: | <20060509173020.GA12724@darwin.sfbr.org> |
References: | <446093bc$0$12932$91cee783 AT newsreader02 DOT highway DOT telekom DOT at> |
Mime-Version: | 1.0 |
In-Reply-To: | <446093bc$0$12932$91cee783@newsreader02.highway.telekom.at> |
User-Agent: | Mutt/1.4.2.1i |
X-Brightmail-Tracker: | AAAAAA== |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> warning: incompatible implicit declaration of built-in function 'memset' Beginning with some recent version of gcc, my programs (even "hello.c") would not compile without many such warnings about some function or other. I searched the gcc docs and added '-fno-builtin' to the gcc invocation to suppress the use of builtin prototypes. -- j On Tue|2006.05.09, Florian Xaver wrote: >Hi! > >example: > >gcc -O3 -funroll-loops -Iinclude -c src/xlib/conlib.c -o obj/xlib/conlib.o >src/xlib/conlib.c: In function 'ClearConsole': >src/xlib/conlib.c:103: warning: incompatible implicit declaration of >built-in fu >nction 'memset' >src/xlib/conlib.c: In function 'CursorMoveRight': >src/xlib/conlib.c:122: warning: incompatible implicit declaration of >built-in fu >nction 'memcpy' >src/xlib/conlib.c:124: warning: incompatible implicit declaration of >built-in fu >nction 'memset' >src/xlib/conlib.c: In function 'PutChar': >src/xlib/conlib.c:155: warning: incompatible implicit declaration of >built-in fu >nction 'memcpy' >src/xlib/conlib.c:158: warning: incompatible implicit declaration of >built-in fu >nction 'memset' >src/xlib/conlib.c: In function 'NewConsole': >src/xlib/conlib.c:173: warning: incompatible implicit declaration of >built-in fu >nction 'memset' > > >What could be the reason? >bye >-- >Florian Xaver <http://www.flox.at.tf> > >Dr-DOS Wiki <http://www.drdos.org> >SWORD - a nice GUI library for DOS/DJGPP ><http://www.flox.at.tf> > > > > > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |