From: Golem Newsgroups: comp.os.msdos.djgpp Subject: hello world Date: Tue, 11 Feb 1997 22:50:01 -0800 Organization: Auracom Internet Services Lines: 15 Message-ID: <5draph$fhk$2@thor.atcon.com> NNTP-Posting-Host: 199.126.230.187 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp ugh! i can't beleive i got an error for djgpp when i first ran it!! here is my source code, saved as 'hello1.cc': main() { printf("Hello world!"); } and when i used the msdos command line: gcc -c -Wall hello1.cc i get a 'warning: implicit declaration of function 'int printf(...)' what the..?? although it goes smoothly from .o to .exe, i want to know what that warning was about, and where i get a list of warnings/errors for djgcc. i am using the 32-bit protected mode (version 2, i think) and what about my keyboard handler that worked in ms C? can i just (rewrite it) or will the protected mode not let me change the dos interrupt? aaargh!! Golem