Path: utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bbn!mailrus!tut.cis.ohio-state.edu!MARKTWAIN.STANFORD.EDU!tiemann From: tiemann@MARKTWAIN.STANFORD.EDU (Michael Tiemann) Newsgroups: gnu.g++.bug Subject: InterViews Message-ID: <8812050615.AA03839@marktwain.stanford.edu> Date: 5 Dec 88 06:15:16 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24 Date: Sun, 4 Dec 88 18:15:45 EST From: decvax!savax!rocket!dove@ucbvax.berkeley.edu (Webster Dove) In InterViews-2.4 src/include/allegro/space.h there are the following lines: /* * Protocol definitions. */ const int objectspace_Find = 1; const int objectspace_Clone = 2; const int objectspace_Destroy = 3; These can be declared static const and the problems will go away. In another similar vain, I had problems with initiatized static members in a class header file (multiply defined symbols). What is the solution? There is no solution until linkers get smarter. Perhaps use #ifdefs around the initialization, and only let one source file see the actual initialization. Michael