Article View: comp.sys.amiga.tech
Article #2119Lattice and externals
From: Wade Bickel
Date: Tue, 14 Nov 1989 08:56
Date: Tue, 14 Nov 1989 08:56
12 lines
1006 bytes
1006 bytes
I'm using Lattice C and have declared a pointer with the same name in two
seperate modules. Neither has the "extern" keyword in front of it, and I'd
like each to be local to its own module (soon almost all of my modules will
need such a pointer, and I'd like to avoid naming confusion).
When I link the program blink barfs on a "symbol redefined" error. Should
this be happening?
Thanks -- Wade.
UUCP: {nosc ucsd hplabs!hp-sdd}!crash!pnet01!wade
ARPA: crash!pnet01!wade@nosc.mil
INET: wade@pnet01.cts.com
Technical Details
Message-ID:
<704@crash.cts.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uwm.edu!lll-winken!ncis.tis.llnl.gov!helios.ee.lbl.gov!nosc!crash!pnet01!wadeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uwm.edu!lll-winken!ncis.tis.llnl.gov!helios.ee.lbl.gov!nosc!crash!pnet01!wade From: wade@pnet01.cts.com (Wade Bickel) Newsgroups: comp.sys.amiga.tech Subject: Lattice and externals Message-ID: <704@crash.cts.com> Date: 14 Nov 89 08:56:36 GMT Sender: root@crash.cts.com Organization: People-Net [pnet01], El Cajon CA Lines: 12