[vox-tech] C++ question - undefined reference

nbs vox-tech@lists.lugod.org
Mon, 22 Apr 2002 02:08:31 -0700


On Mon, Apr 22, 2002 at 02:06:09AM -0700, nbs wrote:
> 
> I'm trying to port an X-Window-based C++ game to SDL, and am having
> problems during linking.
<snip>

Hmm... Well, redeclaring it in one of the .C files as:


#ifdef USE_SDL
Display * display = 0;
#endif

...seemed to do the trick.  <shrug>


I really dislike C++  :^P

-bill!