www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/01/19:26:18

Newsgroups: comp.os.msdos.djgpp
From: manfred DOT heumann AT uni-bielefeld DOT de (Manni Heumann)
Subject: Re: stl config files for DJGPP
References: <3702D95C DOT A71A90FD AT midsouth DOT rr DOT com>
X-Newsreader: News Xpress 2.01
Date: Thu, 01 Apr 1999 08:16:59 GMT
NNTP-Posting-Host: dhcp33-228.uni-bielefeld.de
Message-ID: <37031d53.0@news.uni-bielefeld.de>
X-Trace: 1 Apr 1999 09:16:35 +0200, dhcp33-228.uni-bielefeld.de
Lines: 27
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <3702D95C DOT A71A90FD AT midsouth DOT rr DOT com>, Tony Colston <acolsto2 AT midsouth DOT rr DOT com> wrote:
>I noticed a problem when I tried to compile the following program in
>DJGPP.
>
[snip]
>
>The problem was that there was not a define for
>#     define __STL_NO_DRAND48
>in the header file stl_config.h ... is this the right place to report
>this or am I WAY behind or out of line?
>
I don't know. Here's the answer anyway:

Edit stl_config.h and put the following lines in there:

# ifdef __DJGPP__
#   define __STL_NO_DRAND48
# endif

That's it, your source should compile now.


--
----------------------------------------------------------------------
Manni Heumann
Bielefeld, Germany
----------------------------------------------------------------------

- Raw text -


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