[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Compile error and regression with Swazoo
From: |
Gwenaël Casaccio |
Subject: |
[Help-smalltalk] Compile error and regression with Swazoo |
Date: |
Fri, 05 Aug 2011 23:47:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11 |
Hi,
gst doesn't compile here is the fix:
diff --git a/libgst/interp.inl b/libgst/interp.inl
index 50aadd3..e18e27c 100644
--- a/libgst/interp.inl
+++ b/libgst/interp.inl
@@ -61,7 +61,7 @@ static inline OOP mul_with_check (OOP op1, OOP op2,
mst_Boolean *overflow);
/* Generate random number using the Mersenne Twister technique */
-static inline uint32_t random_next (void);
+static inline uint32_t random_next (uint32_t *);
static inline void random_generate (uint32_t *);
/* These do not need overflow checking. */
And Swazoo tests failed when launching make check
Swazoo.SiteIdentifierTest>>#testIPMismatch
The stack trace :
Swazoo.SiteIdentifierTest>>#testIPMismatch did not understand
#hostAddressString
TestVerboseLog>>logError: (SUnit.star#VFS.ZipFile/SUnit.st:608)
Swazoo.SiteIdentifierTest(TestCase)>>logError:
(SUnit.star#VFS.ZipFile/SUnit.st:870)
[] in TestResult>>runCase: (SUnit.star#VFS.ZipFile/SUnit.st:443)
MessageNotUnderstood(Exception)>>activateHandler: (ExcHandling.st:515)
MessageNotUnderstood(Exception)>>signal (ExcHandling.st:254)
String(Object)>>doesNotUnderstand: #hostAddressString (SysExcept.st:1442)
Swazoo.SiteIdentifier>>ipMatch: (Swazoo.star#VFS.ZipFile/HTTP.st:1763)
Swazoo.SiteIdentifier>>valueMatch: (Swazoo.star#VFS.ZipFile/HTTP.st:1842)
Swazoo.SiteIdentifier(Swazoo.URIIdentifier)>>match:
(Swazoo.star#VFS.ZipFile/HTTP.st:1667)
Swazoo.SiteIdentifierTest>>testIPMismatch
(Swazoo.star#VFS.ZipFile/Tests.st:1563)
Swazoo.SiteIdentifierTest(TestCase)>>performTest
(SUnit.star#VFS.ZipFile/SUnit.st:1080)
optimized [] in TestCase>>runCase (SUnit.star#VFS.ZipFile/SUnit.st:1036)
BlockClosure>>ensure: (BlkClosure.st:268)
BlockClosure>>sunitEnsure: (SUnit.star#VFS.ZipFile/SUnitPreload.st:89)
Swazoo.SiteIdentifierTest(TestCase)>>runCase
(SUnit.star#VFS.ZipFile/SUnit.st:1032)
[] in TestResult>>runCase: (SUnit.star#VFS.ZipFile/SUnit.st:434)
BlockClosure>>on:do: (BlkClosure.st:193)
BlockClosure>>sunitOn:do: (SUnit.star#VFS.ZipFile/SUnitPreload.st:94)
[] in TestResult>>runCase: (SUnit.star#VFS.ZipFile/SUnit.st:435)
BlockClosure>>on:do: (BlkClosure.st:193)
BlockClosure>>sunitOn:do: (SUnit.star#VFS.ZipFile/SUnitPreload.st:94)
TestResult>>runCase: (SUnit.star#VFS.ZipFile/SUnit.st:440)
Swazoo.SiteIdentifierTest(TestCase)>>run:
(SUnit.star#VFS.ZipFile/SUnit.st:1029)
[] in TestSuite>>run: (SUnit.star#VFS.ZipFile/SUnit.st:30)
OrderedCollection>>do: (OrderColl.st:66)
TestSuite>>run: (SUnit.star#VFS.ZipFile/SUnit.st:27)
[] in TestSuite>>run: (SUnit.star#VFS.ZipFile/SUnit.st:30)
OrderedCollection>>do: (OrderColl.st:66)
TestSuite>>run: (SUnit.star#VFS.ZipFile/SUnit.st:27)
[] in TestSuite>>run (SUnit.star#VFS.ZipFile/SUnit.st:21)
BlockClosure>>ensure: (BlkClosure.st:268)
BlockClosure>>sunitEnsure: (SUnit.star#VFS.ZipFile/SUnitPreload.st:89)
TestSuite>>run (SUnit.star#VFS.ZipFile/SUnit.st:19)
[] in TestSuitesScripter class>>run:quiet:verbose:
(SUnit.star#VFS.ZipFile/SUnitScript.st:33)
[] in TestSuitesScripter class>>withScript:do:
(SUnit.star#VFS.ZipFile/SUnitScript.st:87)
BlockClosure>>ensure: (BlkClosure.st:268)
BlockClosure>>sunitEnsure: (SUnit.star#VFS.ZipFile/SUnitPreload.st:89)
TestSuitesScripter class>>withScript:do:
(SUnit.star#VFS.ZipFile/SUnitScript.st:86)
TestSuitesScripter class>>run:quiet:verbose:
(SUnit.star#VFS.ZipFile/SUnitScript.st:22)
UndefinedObject>>executeStatements (scripts/Test.st:113)
Cheers,
Gwen
- [Help-smalltalk] Compile error and regression with Swazoo,
Gwenaël Casaccio <=