🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2025

#include nested

#2025
From: Circle
Date: Fri, 16 Feb 1996 15:24
16 lines
904 bytes
Hello.

I've been compiling a program that has a header file (tcp.h) which
#includes <stdio.h>, among other things.  Then the file www.c
#includes "tcp.h".  When compiling www.c, I get warnings about
implicit decl. of "write" and other stdio functions; when I edit
www.c and have it #include <stdio.h> itself, then the problems are
gone.

Is there any reason why function declarations included in tcp.h
would not be visible in www.c?  Or what am I missing?


Many thanks,

Tim
Technical Details
Message-ID: <4g27jt$q8e@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: circle@AZStarNet.com (  Circle)
Newsgroups: comp.lang.c.moderated
Subject: #include nested
Date: 16 Feb 1996 09:24:45 -0600
Organization: Arizona Daily Star - AZSTARNET
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4g27jt$q8e@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]