From: ijkdc@hotmail.com
Subject: compiling with Digital C
Date: 1999/07/05 [thread overview]
Message-ID: <37813B0E.B661C3E1@hotmail.com> (raw)
Hello,
I'm trying to compile a C program with Digital C. Unfortunately I
didn't write the program which will make it harder to debug and the
author doesn't seem to have any experience with non-GNU compilers. The
program compiles fine on my Linux box with gcc but has trouble with
Digital C on OSF/1. I get the following error:
cc: Error: icq_response.c, line 299: In this declaration, "sin" has no
linkage a
nd is of an incomplete type.
struct sockaddr_in sin; /* used to store inet addr stuff */
---------------------------^
I don't really understand the error message and I've never declared a
struct like that. I would have to agree that it's an incomplete type,
but gcc doesn't seem to mind it. Could someone shed some light on this
situation please?
next reply other threads:[~1999-07-05 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-05 4:00 ijkdc [this message]
1999-07-06 4:00 ` compiling with Digital C Kevin Oberman
1999-07-07 4:00 ` Ron Fox
1999-07-10 4:00 ` Rob Urban
1999-07-11 4:00 ` Rob Urban
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox