This is the mail archive of the win32-x11@sources.redhat.com mailing list for the win32-x11 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

error while compiling using MSVC


Hi,
I was trying to compile oclock client application
given in win32-x11 using MSVC 6.0(without nmake).I
have MS PSDK 2001 installed on my box. I tried to
compile the code by including the header files and
setting the include libraries in MSVC. I got the
errors given below. Can you tell how to compile the
code without using "nmake".
Thanks for any help in advance.
Regards,
Ashish

Clock.c
c:\microsoft visual studio\vc98\include\stdio.h(453) :
error C2059: syntax error : '('
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(201) :
warning C4013: 'SetTransform' undefined; assuming
extern returning int
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(256) :
warning C4013: 'TFillArc' undefined; assuming extern
returning int
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(275) :
warning C4013: 'paint_jewel' undefined; assuming
extern returning int
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(276) :
warning C4013: 'paint_hands' undefined; assuming
extern returning int
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(436) :
warning C4013: 'check_jewel' undefined; assuming
extern returning int
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(454) :
warning C4013: 'compute_hands' undefined; assuming
extern returning int
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(520) :
warning C4033: 'check_jewel' must return a value
c:\x11_\new
folder\xorg-1\xc\programs\oclock\clock.c(574) :
warning C4013: 'TFillPolygon' undefined; assuming
extern returning int
oclock.c
c:\x11_\new
folder\xorg-1\xc\programs\oclock\oclock.c(155) :
warning C4018: '!=' : signed/unsigned mismatch
transform.c
c:\x11_\new
folder\xorg-1\xc\programs\oclock\transform.c(45) :
warning C4013: 'malloc' undefined; assuming extern
returning int
c:\x11_\new
folder\xorg-1\xc\programs\oclock\transform.c(75) :
warning C4013: 'free' undefined; assuming extern
returning int
Error executing cl.exe.

a1.exe - 1 error(s), 11 warning(s)


__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]