delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/14/15:41:12

From: "merser" <merser AT image DOT dk>
To: "DJGPP" <djgpp AT delorie DOT com>
Subject: STL: undeclared lrand48 ??
Date: Tue, 14 Apr 1998 21:31:18 +0200
Message-ID: <01bd67db$e61868a0$LocalHost@Image>
MIME-Version: 1.0

The error message below came when I tried to recompile a litle program that
uses a STL algorithm 'random_shuffle'.
Using find and grep it aint possible to locate any declaration or definition
in the headers, only the call itself in stl_algo.h.
Any suggestions how to solve this problem appreciated?



c:/djgpp/lang/cxx/stl_algo.h: In function `void __random_shuffle<float *,
int>(float *, float *, int *)':
c:/djgpp/lang/cxx/stl_algo.h:617: `lrand48' undeclared (first use this
function)
c:/djgpp/lang/cxx/stl_algo.h:617: (Each undeclared identifier is reported
only once
c:/djgpp/lang/cxx/stl_algo.h:617: for each function it appears in.)
make.exe: *** [heap.o] Error 1


- Raw text -


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