Message-Id: <3.0b26.32.19961004162450.00685b9c@cis.cisnet.com> Date: Fri, 04 Oct 1996 16:24:54 -0400 To: djgpp AT delorie DOT com From: Dr Eclipz Subject: compiler troubles Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" the problem i get is when i try to compile a program i'm working on. i changed the type of several functions from 'int' to 'void' and some compiler warnings surfaced. for a while, djgpp compiled the program and after the warnings said 'no errors'. now it's gotten to the point where it just doesn't finish compiling at all. is there some way to make the compiler stop keeping track of me changing types or to make it shut up with those errors? thanks for any help you can provide! (read on for my eviron.lst and other information) ----------------------------------------------------------------------------- djgpp gives me variations of the following warnings: Warning: previous implicit declaration of '[function name]' Warning: '[function name]' was previously implicitly declared to return 'int' Warning: type mismatch with previous implicit declaration Warning: type mismatch with previous external decl ----------------------------------------------------------------------------- things i'm doing with dgjpp: using rhide for my environment using c programming method (just so you know it's not c++ or something else) -ansi option is set for compiling ----------------------------------------------------------------------------- go32-v2 output: go32/v2 version 2.0 built Jan 23 1996 22:03:02 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH. DPMI memory available: 9764 Kb DPMI swap memory available: 3400 Kb ----------------------------------------------------------------------------- eviron.lst contents: CONFIG=bbs TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTIL;C:\TBAV;C:\RAR;C:\QB ACKUP;C:\JAVA\BIN COMSPEC=C:\4DOS\4DOS.COM DJGPP=C:\DJGPP\DJGPP.ENV GZIP=-9vN MIDI=SYNTH:1 MAP:E MSINPUT=C:\MSINPUT PKTEMP=C:\TEMP PKZIP.CFG=C:\UTIL QBACKUP=C:\QBACKUP SOUND=C:\SB16 DSZLOG=C:\NARF\DSZLOG.1 windir=C:\WINDOWS BLASTER=A220 I5 D1 H5 P330 T6 ----------------------------------------------------------------------------- -- Chris Harper aka "DR ECLiPZ" dreclipz AT cisnet DOT com