Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!unido!iaoobelix!woerz From: woerz@iaoobelix.UUCP Newsgroups: comp.lang.c Subject: Re: Re: portability and standards - (nf) Message-ID: <6700010@iaoobelix.UUCP> Date: Sun, 28-Jun-87 22:44:00 EDT Article-I.D.: iaoobeli.6700010 Posted: Sun Jun 28 22:44:00 1987 Date-Received: Sat, 4-Jul-87 20:55:39 EDT References: <2166@dg_rtp.UUCP> Lines: 30 Nf-ID: #R:dg_rtp:-216600:iaoobelix:6700010:000:1293 Nf-From: iaoobelix!woerz Jun 29 03:44:00 1987 > /***** iaoobelix:comp.lang.c / brl-adm!DRIEHUIS%HLERUL5.BITNET@w / 5:49 pm Jun 26, 1987*/ > ... > > Under Primos there is another wrinkle to take into account. The Primos > > C compiler insists that every file have an actual entry point. (I.e., > > you can't have a file only consisting of definitions.) > VMS C has exactly the same bug. It took me quite some time to find this > out, because for some reason the compiler nor the linker complained > about what must have been an unresolved external in some source file. > - Bert > --------------------------------------------------------------------------- > Bert Driehuis, LICOR Leiden, , > and VNG The Hague > (I speak for neither of the above) > /* ---------- */ I don't know what version of VAX C you have, with version 2.2-015 it worked well to have only definitions of variables in a file. It compiled without problems. ------------------------------------------------------------------------------ Dieter Woerz Fraunhofer Institut fuer Arbeitswirtschaft und Organisation Abt. 453 Holzgartenstrasse 17 D-7000 Stuttgart 1 W-Germany BITNET: iaoobel.uucp!woerz@unido.bitnet UUCP: ...{seismo!unido, pyramid}!iaoobel!woerz