delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: strange error |
Date: | 20 Jul 2004 10:34:21 GMT |
Lines: | 16 |
Message-ID: | <2m4apdFht547U1@uni-berlin.de> |
References: | <20040719231332 DOT 11752 DOT 00001933 AT mb-m11 DOT aol DOT com> |
X-Trace: | news.uni-berlin.de Sifke8+V8VB3ZWeJvuH+ZgKJbXtLK7KD9UMvQgpxPmW9BiX5wcBS0MUoCg |
X-Orig-Path: | not-for-mail |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Your program has at least the following errors: #include <stdio.h> is missing #include <stdlib.h> is missing main is defined without giving a return type main doesn't return a value Your usage of gcc also appears at least slightly flawed. You compile without enabling warning flags (or you'ld have known about all of the above right away), and you apparently strip executables unconditionally, making any use of the '-g' option or discussion of its effects quite pointless. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |