delorie.com/archives/browse.cgi | search |
From: | Meta <syzmik AT concentric DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DJGPP wierd compilation error |
Date: | Tue, 01 Jul 1997 03:09:36 -0400 |
Organization: | Concentric Internet Services |
Lines: | 9 |
Message-ID: | <33B8AD30.779A@concentric.net> |
References: | <33B775B9 DOT D567D103 AT wayfarer DOT demon DOT co DOT uk> |
NNTP-Posting-Host: | ts005d23.sag-mi.concentric.net |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> Basically, on compilation, the syntax checker does not notice > library function calls, for example 'helloworld()' instead of > 'hello_world()'. I can then compile and link the program, which then > obviously crashes on execution, due to a call to the non-existent > 'helloworld()' function. Use the option -Wall and it should give you an error such as: error: Undefined refrence to 'helloworld'
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |