Hi José,

Tanks, that's right.

In the meantime, thanks to Przemek who already resolved the problem. :-)

Regards,

JF,

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de José Luis Capel -
Envoyé : mardi 22 juillet 2008 12:50
À : Harbour Project Main Developer List.
Objet : Re: [Harbour] Some more warnings and errors with last svn

Hi J. Lefebvre,

This is the info:

Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

So I gess that version for evc4 is 1220... doesn't it ?

Thanks and regards,
José Luis Capel
PS: Is it Jean your name?


----- Original Message ----- 
From: "J. Lefebvre" <[EMAIL PROTECTED]>
To: "'Harbour Project Main Developer List.'" <harbour@harbour-project.org>
Sent: Tuesday, July 22, 2008 12:19 PM
Subject: RE: [Harbour] Some more warnings and errors with last svn


Hi José,

We have to know with version the compiler is reporting.

Open a command windows and type cl <enter>

It should give you some info about your compiler version !

Ie for MSVC 6.0 t give ;

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright ... blablabla ...

And version is 1200 !

Regards,

-----Message d'origine-----
De : [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] De la part de José Luis Capel -
Envoyé : mardi 22 juillet 2008 11:44
À : Harbour Project Main Developer List.
Objet : [Harbour] Some more warnings and errors with last svn

Hi,

After updating from svn I tried to build Wince libs using EVC4 and got these
warnings and error:

<<<<<<<<<
Harbour Preprocessor 1.0.0
Copyright 1999-2008, http://www.harbour-project.org
pptable.c
Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

genobj32.c
p:\programacion\harbour\source\compiler\genobj32.c(549) : warning C4244: '='
: conversion from 'short ' to 'unsigned char ', possible loss of data
Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

filesys.c
Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

gtwvt.c
p:\programacion\harbour\source\rtl\gtwvt\gtwvt.c(1452) : warning C4013:
'SetWindowLongPtr' undefined; assuming extern returning int
Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

gtgui.c
gtdef.c
Microsoft (R) Library Manager Version 6.24.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

hbrun.c
external.c
LINK : warning LNK4044: unrecognized option '/MANIFEST:NO'; ignored
gtwvt.lib(gtwvt.obj) : error LNK2019: unresolved external symbol
SetWindowLongPtr referenced in function hb_gt_wvt_WndProc
bin\vcce\hbrun.exe : fatal error LNK1120: 1 unresolved externals
<<<<<<<<<<

I am not quite sure how to determine exact value for _MSC_VER since this
piece of code:

// line 1449 $Id: gtwvt.c 8986 2008-07-21 19:54:54Z druzus $
#if defined(_MSC_VER) && (_MSC_VER <= 1200)
            SetWindowLong( pWVT->hWnd, GWL_STYLE,
WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX|WS_MAXIMIZEBOX|WS_THICKFRAME
 );
#else
            SetWindowLongPtr( pWVT->hWnd, GWL_STYLE,
WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX|WS_MAXIMIZEBOX|WS_THICKFRAME
 );
#endif

makes that execution goes to SetWindowLongPtr.  And this is the problem.
Evc4 does not have this function.  Maybe it could be hacked in hbwince.h
making some kind of #define or maybe it could be solved determining the
exact value of _MSC_VER for Evc4 and adjusting accordingly the above piece
of code.

I am not a C expert nor a user C.  So for me it is difficult to help you in
doing that :-(

Any help I can give you, please, tell me.

Regards,
José Luis Capel

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour 

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to