delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/09:00:45

From: Pete Becker <petebecker AT acm DOT org>
Newsgroups: comp.os.msdos.djgpp,comp.lang.c++
Subject: Re: Problems defining external symbols in C++ !?
Date: Fri, 21 Aug 1998 19:06:15 -0400
Organization: MediaOne -=- Northeast Region
Lines: 12
Message-ID: <35DDFD67.7044BC90@acm.org>
References: <35dcd766 DOT 101916239 AT news DOT pathcom DOT com> <35DDCDF2 DOT 9F445A4A AT unb DOT ca>
NNTP-Posting-Host: petebecker.ne.mediaone.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Endlisnis wrote:
> 
>  You can't have extern const data.

Sure you can. Just do it:

extern const struct moostruct moovariable[] = { ... }

-- 
Pete Becker
Dinkumware, Ltd.
http://www.dinkumware.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019