* DEC OSF/1 C++/C interface problems
@ 1994-02-28 13:03 Willy Jacobs
1994-02-28 19:52 ` Sameer A. Nene
0 siblings, 1 reply; 2+ messages in thread
From: Willy Jacobs @ 1994-02-28 13:03 UTC (permalink / raw)
In our C++ programs we use calls to several UNIX/C functions, e.g.
connect(), socket(), select(), ftime(), bzero().
We include the appropiate include files, such as sys/types.h,
sys/socket.h via extern "C" { ... }, but unfortunaly the
function declarations (prototypes) for the functions mentioned
before are not present in these include files!
Is this a bug/omission in the C++ compiler, or are they declared
somewhere else?
Environment used:
OS: DEC OSF/1 V1.2 rev. 10
DEC C++ (cxx): DEC OSF/1 AXP compiler driver 3.11
Thanks.
Willy Jacobs (jacobs@hsacsd.signaal.nl)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: DEC OSF/1 C++/C interface problems
1994-02-28 13:03 DEC OSF/1 C++/C interface problems Willy Jacobs
@ 1994-02-28 19:52 ` Sameer A. Nene
0 siblings, 0 replies; 2+ messages in thread
From: Sameer A. Nene @ 1994-02-28 19:52 UTC (permalink / raw)
In article <1994Feb28.130338.2742@hsacsd.signaal.nl>, jacobs@hsacsd.signaal.nl (Willy Jacobs) writes:
>
> In our C++ programs we use calls to several UNIX/C functions, e.g.
> connect(), socket(), select(), ftime(), bzero().
>
> We include the appropiate include files, such as sys/types.h,
> sys/socket.h via extern "C" { ... }, but unfortunaly the
> function declarations (prototypes) for the functions mentioned
> before are not present in these include files!
>
> Is this a bug/omission in the C++ compiler, or are they declared
> somewhere else?
>
> Environment used:
> OS: DEC OSF/1 V1.2 rev. 10
> DEC C++ (cxx): DEC OSF/1 AXP compiler driver 3.11
>
We are having a similar problem with shmget(). It doesn't seem to be declared in sys/shm.h,
though the other shm*() calls are correctly declared.
My environment is DEC OSF/1 V1.3A along with DEC C++ FT V1.30
Sameer.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-02-28 19:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-28 13:03 DEC OSF/1 C++/C interface problems Willy Jacobs
1994-02-28 19:52 ` Sameer A. Nene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox