delorie.com/archives/browse.cgi | search |
From: | Bob Kematick <rjkematick AT postoffice DOT worldnet DOT att DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Help - Warnings from compiler |
Date: | Wed, 25 Jun 1997 09:17:33 -0500 |
Organization: | myhouse |
Lines: | 31 |
Message-ID: | <33B1287D.6A0D@postoffice.worldnet.att.net> |
References: | <5oq596$5nc$1 AT news DOT bctel DOT net> |
NNTP-Posting-Host: | 207.146.35.119 |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Thomas Christensen wrote: > > When I compile a small program, which has > #include <cinio.h> > #include <pc.h> > in it I get 2 warnings > > .../pc.h(32) Warning: redundant redeclaration of `_conio_kbhit' in > same scope > > and > > .../conio.h(66) Warning: previous declaration of `_conio_kbhit' > > I checked out the 2 header files and only one of them has the name > _conio_kbhit in it. > > could someone tell me why I recieved these warnings. > I more information is needed let me know. > Better post an example. The following compiles without warning for me : #include <conio.h> #include <pc.h> int main() {}
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |