[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem building Serf on Windows

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 5 Jul 2010 12:28:57 -0400

On Mon, Jul 5, 2010 at 12:24 PM, Bolstridge, Andrew
<andy.bolstridge_at_intergraph.com> wrote:

>> I am setting up a new Windows build machine.  I am building our 1.6.12
>> release and deps zip.  I get a problem when it goes to build Serf.
>>
>>
>> Performing Makefile project actions
>> context.c
>> context.c(585) : error C2036: 'void *' : unknown size
>> context.c(1410) : warning C4090: '=' : different 'const' qualifiers
>> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
>> 9.0\VC\bin\cl.exe"' : return code '0x2'
>> Stop.
>> Project : error PRJ0019: A tool returned an error code from
>> "Performing Makefile project actions"
>>
>> Any ideas?
>
>
> Cast it to a char* or a BYTE*.
> http://msdn.microsoft.com/en-us/library/1kay26wa%28VS.80%29.aspx
>
> some compilers assume a 'void' type is a char/byte type and treat it
> accordingly. MS compiler doesn't do that, it (possibly correctly) treats
> a void as a 'non type' without a size. The workaround is to explicitly
> tell it what size to use.

Well, I built this fine when I signed the 1.6.12 release using the
same source code. So it has to be something else. I even was using
the same compiler.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2010-07-05 18:30:34 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.