[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KShred compile troubles.
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-05-30 8:57:55
[Download RAW message or body]

On Mon, May 29, 2000 at 03:56:28PM +0200, Alexander Feigl wrote:
> Hi!
> 
> I cannot compile current KShred.cpp because random() and srandom() don't get
> included. 
> 
> srandom() and random are only included when _XOPEN_SOURCE_EXTENDED or
> _SVID_SOURCE are definded.  I'm using glibc 2.1. (Linux).
> 
> Is there any reason why we use srandom() and random()? srand() and rand() would
> be available without #defines 

Hmm, I'm a bit lost in the random/rand/KRandomSequence situation.
Waldo ? Should KShred use the latter ? Otherwise, what's the
file to include ?

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic