[ << | Thread Index | >> ]    [ << | Date Index | >> ]

To: Artem Dmytrenko <admytren,AT,internet2,DOT,edu>
Subject: Re: Getting CIPE-Win32 to compile with VC7
From: "Damion K. Wilson" <dwilson,AT,ibl,DOT,bm>
Date: Wed, 4 Jun 2003 17:02:26 -0300
Cc: cipe-l,AT,inka,DOT,de
In-reply-to: <5.2.0.9.0.20030604154333.00b9a7a0@mail.internet2.edu>
References: <20030604152719.53878.qmail@web13902.mail.yahoo.com> <5.2.0.9.0.20030604154333.00b9a7a0@mail.internet2.edu>
Reply-to: dwilson,AT,ibl,DOT,bm

Yeah, that's the same kind of mess I had to deal with originally.
<sarcasm>
Microsoft seems to think that it's cool to make your includes order sensitive.
</sarcasm>
I wonder what's changed now to make this happen. We should see if your change 
has a negative effect in VC6 or VC5.

DKW

On Wednesday 04 June 2003 04:49 pm, you wrote:
> While trying to compile cipesrvr using MSVC7 (from Visual Studio .NET) I've
> noticed that there are some problems with which winsock library selection.
> For example, if you include windows.h before including winsock2.h, then
> winsock.h will get included. To get around it, I added a define in the
> Makefile
> -D_WINSOCKAPI_ to disable including Winsock. After that, some source files
> need to include Winsock2.h explicitly.
>
> P.S> I didn't post in the mailing list, as this is a very minor change and
> is not
> pertinent to the cipe-linux development. But you are welcome to forward
> this to the mailing list if you wish.
>
> Art.
>
>
>
> diff -r Copy of CIPE\source\cipsrvr\CipeAdapter.cpp
> CIPE1\source\cipsrvr\CipeAdapter.cpp
> 6a7
>
>  > #include "winsock2.h"
>
> diff -r Copy of CIPE\source\cipsrvr\CipeBase.cpp
> CIPE1\source\cipsrvr\CipeBase.cpp
> 3a4
>
>  > #include "winsock2.h"
>
> diff -r Copy of CIPE\source\cipsrvr\CipeBlowfishEncryptor.cpp
> CIPE1\source\cipsrvr\CipeBlowfishEncryptor.cpp
> 3a4
>
>  > #include "winsock2.h"
>
> diff -r Copy of CIPE\source\cipsrvr\CipeIdeaEncryptor.h
> CIPE1\source\cipsrvr\CipeIdeaEncryptor.h
> 6a7
>
>  > #include "winsock2.h"
>
> diff -r Copy of CIPE\source\cipsrvr\CipePeer.h
> CIPE1\source\cipsrvr\CipePeer.h 3a4
>
>  > #include "winsock2.h"
>
> diff -r Copy of CIPE\source\cipsrvr\Makefile CIPE1\source\cipsrvr\Makefile
> 12a13
>
>  > CCOPTIONS = $(CCOPTIONS) -D_WINSOCKAPI_


[ << | Thread Index | >> ]    [ << | Date Index | >> ]