Re: [Warzone-dev] r378

2006-09-20 Thread Christian Ohm
On Wednesday, 20 September 2006 at 23:30, Dennis Schridde wrote:
> Am Mittwoch, 20. September 2006 23:17 schrieb Christian Ohm:
> > Don't know what I was doing when making that patch. Thinking can't have
> > been involved. In script.h, the 'inline' has to be removed, not the
> > 'extern'. Fix attached.
> Interesting. I wonder why devurandom.brain()

Don't ask me.

> and both GCC and MSVC did not 
> complain about it...

Because you didn't use the C++ compiler. Linking works a bit different
with C++ as well.

-- 
BOFH excuse #115:

your keyboard's space bar is generating spurious keycodes.

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [Warzone-dev] r378

2006-09-20 Thread Dennis Schridde
Am Mittwoch, 20. September 2006 23:17 schrieb Christian Ohm:
> Don't know what I was doing when making that patch. Thinking can't have
> been involved. In script.h, the 'inline' has to be removed, not the
> 'extern'. Fix attached.
Interesting. I wonder why devurandom.brain() and both GCC and MSVC did not 
complain about it...


pgpoFxQhByhJO.pgp
Description: PGP signature
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


[Warzone-dev] r378

2006-09-20 Thread Christian Ohm
Don't know what I was doing when making that patch. Thinking can't have
been involved. In script.h, the 'inline' has to be removed, not the
'extern'. Fix attached.
-- 
"I never spared heretics and have always done my utmost so
 that the enemies of the Church should also be my enemies."
   [St. Jerome, 420 AD]
Index: lib/script/script.h
===
--- lib/script/script.h (revision 384)
+++ lib/script/script.h (working copy)
@@ -66,7 +66,7 @@
  *
  * \return Number of calls on the return address stack
  */
-inline Sint8 retStackCallDepth(void);
+extern Sint8 retStackCallDepth(void);
 
 
 
/***
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev