Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37833983
en ru br
ALT Linux repositórios
S:2.2.6.1-alt2
5.0: 1.30-alt2
4.1: 1.28-alt1

Group :: Sistema/Bibliotecas
RPM: libmuparser

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libmuparser-gcc4.3.patch
Download


--- include/muParserTest.h.orig	2007-07-15 01:21:32 +0400
+++ include/muParserTest.h	2008-11-15 00:25:26 +0300
@@ -27,6 +27,7 @@
 #define MU_PARSER_TEST_H
 
 #include <string>
+#include <stdlib.h>
 #include <numeric> // for accumulate
 #include "muParser.h"
 #include "muParserInt.h"
@@ -87,12 +88,12 @@ namespace mu
 
         static value_type Rnd(value_type v)
         {
-          return (value_type)(1+(v*std::rand()/(RAND_MAX+1.0)));
+          return (value_type)(1+(v*rand()/(RAND_MAX+1.0)));
         }
 
         static value_type RndWithString(const char_type*)
         {
-          return (value_type)( 1 + (1000.0f * std::rand() / (RAND_MAX + 1.0) ) );
+          return (value_type)( 1 + (1000.0f * rand() / (RAND_MAX + 1.0) ) );
         }
 
         static value_type Ping()
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009