-----Messaggio Originale----- 
Da: "Maurilio Longo" <maurilio.lo...@libero.it>
A: "Xharbour-Developers List" <xharbour-developers@lists.sourceforge.net>
Data invio: mercoledì 7 gennaio 2009 12.50
Oggetto: [xHarbour-developers] error conflicting types


> Hi,
>
> current cvs, gcc, os/2
>
> gcc -I. -I../../include -I../../../../include -DHB_OS_OS2 -Wall -fsigned-char
> -O2 -DTCPV40HDRS -DSIMPLEX -DHB_GT_LIB=os2 -L/Sviluppo/curl/lib
> -L/Sviluppo/gcc/extras/lib -c ../../seconds.c -oseconds.o
> gcc -I. -I../../include -I../../../../include -DHB_OS_OS2 -Wall -fsigned-char
> -O2 -DTCPV40HDRS -DSIMPLEX -DHB_GT_LIB=os2 -L/Sviluppo/curl/lib
> -L/Sviluppo/gcc/extras/lib -c ../../set.c -oset.o
> ../../set.c:2542: error: conflicting types for `hb_setGetWorkareasShared'
> ../../../../include/hbset.h:348: error: previous declaration of
> `hb_setGetWorkareasShared'
> make[3]: *** [set.o] Error 1
> make[3]: Leaving directory `/repos2/xharbour/source/rtl/os2/gcc'
> make[2]: *** [descend] Error 2
> make[2]: Leaving directory `/repos2/xharbour/source/rtl'
>
>
> Which is the correct definition?

It's

BOOL hb_setGetWorkareasShared( void )
{
   return hb_set.HB_SET_WORKAREAS_SHARED;
}

as HB_SET_WORKAREAS_SHARED is a BOOL type field.

Let me know if you can fix it yourself or you want me to fix it.

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 


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to