Re: Problem building Serf on Windows
On Mon, Jul 5, 2010 at 12:24 PM, Bolstridge, Andrew
>> 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(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'
>> Project : error PRJ0019: A tool returned an error code from
>> "Performing Makefile project actions"
>> Any ideas?
> Cast it to a char* or a BYTE*.
> 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.
Received on 2010-07-05 18:30:34 CEST
This is an archived mail posted to the Subversion Dev