On Tue, May 13, 2008 at 10:51 PM, William Tambe <tambewilliam@xxxxxxxxx> wrote: > I get message such as: > implicit declaration of built-in function 'printf' or 'malloc' > > Is there a way to build my program in a way that an error such as symbol > not found is generated instead of gcc linking agains stdlib? > I'm fairly sure that omitting is legal, in C89, so long as the signature works out. It might not be in C99 though, so you could try -std=c99 -pedantic If that doesn't work either, you could always use C++ instead :P