Thread View: gnu.g++.bug
1 messages
1 total messages
Started by Michael Tiemann
Mon, 05 Dec 1988 06:15
InterViews
Author: Michael Tiemann
Date: Mon, 05 Dec 1988 06:15
Date: Mon, 05 Dec 1988 06:15
25 lines
1165 bytes
1165 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads