0wolf0 / mongoose

Automatically exported from code.google.com/p/mongoose
0 stars 0 forks source link

Patch for problem with VS2005 compiler/linker #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to compile mongoose with VS2005 compiler

What is the expected output? What do you see instead?
Linker complains about unresolved symbol _SignalObjectAndWait

What version of the product are you using? On what operating system?
- Mongoose 2.6 & SVN trunk
- VS2005 SP1

Please provide any additional information below.
The function SignalObjectAndWait requires the symbol _WIN32_WINNT to be
defined with a value >= 0x0400. The attached patch contains the required
change.

Original issue reported on code.google.com by arnold.k...@gmail.com on 18 May 2009 at 8:45

Attachments:

GoogleCodeExporter commented 8 years ago
I have just recently submitted similar patch from AeroX to the Makefile,
could you confirm that it works please?

Original comment by valenok on 18 May 2009 at 8:49

GoogleCodeExporter commented 8 years ago
The patch in the Makefile works when the Makefile is used to build EXE/DLL 
version of
Mongoose. In my usage scenario (statically linked library integrated in the 
build of
a larger software) the Makefile patch doesn't help. Of course I can manually 
add the
definition to the compiler commandline, but the patch I submitted does no harm 
and
eliminates the problem in all possible use cases.

Original comment by arnold.k...@gmail.com on 18 May 2009 at 9:11

GoogleCodeExporter commented 8 years ago
Submitted http://code.google.com/p/mongoose/source/detail?r=358 , thanks.

Original comment by valenok on 18 May 2009 at 9:21