-----Messaggio Originale----- 
Da: "Patrick Mast" <devl...@xharbour.com>
A: "xHarbour-Developers" <xharbour-developers@lists.sourceforge.net>
Data invio: sabato 21 aprile 2012 9.34
Oggetto: [xHarbour-developers] Couldn't build: uuencode.obj in MT mode


> Hello,
>
> I got these errors:
> C:\xHarbour\source\tip\encoding\uuencode.c(82): error: Undeclared
> identifier 'HB_THREAD_STUB'.
> C:\xHarbour\source\tip\encoding\uuencode.c(83): error: Syntax error; found
> 'const' expecting ';'.
> C:\xHarbour\source\tip\encoding\uuencode.c(93): error: Undeclared
> identifier 'HB_THREAD_STUB'.
> C:\xHarbour\source\tip\encoding\uuencode.c(94): error: Syntax error; found
> 'const' expecting ';'.
> C:\xHarbour\source\tip\encoding\uuencode.c(125): error: Undeclared
> identifier 'HB_THREAD_STUB'.
> C:\xHarbour\source\tip\encoding\uuencode.c(126): error: Syntax error; 
> found
> 'const' expecting ';'.
> C:\xHarbour\source\tip\encoding\uuencode.c(149): error: Undeclared
> identifier 'HB_THREAD_STUB'.
> C:\xHarbour\source\tip\encoding\uuencode.c(150): error: Syntax error; 
> found
> 'const' expecting ';'.

Please try to add

#ifdef HB_THREAD_SUPPORT
#include "thread.h"
#endif

after

/*
 * $Id: uuencode.c 9444 2012-03-18 23:12:47Z andijahja $
 */

#define HB_THREAD_OPTIMIZE_STACK
#ifndef HB_THREAD_SUPPORT
#define HB_THREAD_STUB
#endif

in uuencode.c and let me know if it fixes the compilation.

EMG

--
EMAG Software Homepage:     http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page:         http://www.emagsoftware.it/emgmusic 


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to