You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ed Holyat <eh...@OLF.COM> on 2004/04/16 14:49:06 UTC

Can't compile on XP

I am having a problem compiling the HEAD of the branch.
Windows XP Microsoft Visual C++ 6.0 SP5 with processor pack.
Anyone else having this problem?

Deleting intermediate files and output files for project 'apr - Win32
Debug'.
--------------------Configuration: apr - Win32 Debug--------------------
Creating apr.h from apr.hw
Compiling...
apr_atomic.c
C:\local\src\apr_head\apr\atomic\win32\apr_atomic.c(27) : warning C4013:
'InterlockedCompareExchangePointer' undefined; assuming extern returning int
C:\local\src\apr_head\apr\atomic\win32\apr_atomic.c(27) : warning C4047:
'return' : 'void *' differs in levels of indirection from 'int '
C:\local\src\apr_head\apr\atomic\win32\apr_atomic.c(50) : warning C4146:
unary minus operator applied to unsigned type, result still unsigned
dso.c
copy.c


© 2004 OpenLink Financial 

Copyright in this message and any attachments remains with us.  It is
confidential and may be legally privileged.   If this message is not 
intended for you it must not be read, copied or used by you or 
disclosed to anyone else.   Please advise the sender immediately if 
you have received this message in error.

Although this message and any attachments are believed to be free of 
any virus or other defect that might affect any computer system into 
which it is received and opened, it is the responsibility of the 
recipient to ensure that it is virus free and no responsibility 
is accepted by Open Link Financial, Inc. for any loss or damage in any 
way arising from its use.



Re: Can't compile on XP

Posted by Guenter Knauf <ef...@gmx.net>.
Hi Bill,
> Sorry, that is a later SDK header than you have.  However I've committed
> a similar hack to Microsoft's for 32 bit cpu's.

> Please cvs up - recompile - and report back.
thanks a bunch! Works fine again! 
I was now five months not able to compile HEAD for Win32...

Guenter.



Re: Can't compile on XP

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Sorry, that is a later SDK header than you have.  However I've committed
a similar hack to Microsoft's for 32 bit cpu's.

Please cvs up - recompile - and report back.

Also eliminated the unary negation applied to unsigned value warning
(a side effect of using add 2s compliment value of an unsigned as 
a substitute for the missing InterlockedExchangeSubtract).  Simply
wiped out the warning with a pragma.

Bill

At 07:49 AM 4/16/2004, you wrote:
>I am having a problem compiling the HEAD of the branch.
>Windows XP Microsoft Visual C++ 6.0 SP5 with processor pack.
>Anyone else having this problem?
>
>Deleting intermediate files and output files for project 'apr - Win32
>Debug'.
>--------------------Configuration: apr - Win32 Debug--------------------
>Creating apr.h from apr.hw
>Compiling...
>apr_atomic.c
>C:\local\src\apr_head\apr\atomic\win32\apr_atomic.c(27) : warning C4013:
>'InterlockedCompareExchangePointer' undefined; assuming extern returning int
>C:\local\src\apr_head\apr\atomic\win32\apr_atomic.c(27) : warning C4047:
>'return' : 'void *' differs in levels of indirection from 'int '
>C:\local\src\apr_head\apr\atomic\win32\apr_atomic.c(50) : warning C4146:
>unary minus operator applied to unsigned type, result still unsigned
>dso.c
>copy.c
>
>
>© 2004 OpenLink Financial 
>
>Copyright in this message and any attachments remains with us.  It is
>confidential and may be legally privileged.   If this message is not 
>intended for you it must not be read, copied or used by you or 
>disclosed to anyone else.   Please advise the sender immediately if 
>you have received this message in error.
>
>Although this message and any attachments are believed to be free of 
>any virus or other defect that might affect any computer system into 
>which it is received and opened, it is the responsibility of the 
>recipient to ensure that it is virus free and no responsibility 
>is accepted by Open Link Financial, Inc. for any loss or damage in any 
>way arising from its use.