[CMAKE]: Temporarily reconsider C4090 as a warning, otherwise we would have to fix ~= 33 problems in Wine dlls.
svn path=/trunk/; revision=60102
}
if (lpArgsVector)
- LocalFree(lpArgsVector);
+ LocalFree((LPVOID)lpArgsVector);
return bRet;
}
list(APPEND SOURCE
main.c
- cmdstart.c
+ cmdStart.c
cmdStop.c
cmdHelpMsg.c
cmdPause.c
done:
if (lpArgVectors != NULL)
- HeapFree(GetProcessHeap(), 0, lpArgVectors);
+ HeapFree(GetProcessHeap(), 0, (LPVOID)lpArgVectors);
if (hService != NULL)
CloseServiceHandle(hService);
# for C++ programs, the compiler error C2440 is issued)
# - C4098: void function returning a value
# - C4700: uninitialized variable usage
-add_compile_flags("/we4047 /we4090 /we4098 /we4700")
+##add_compile_flags("/we4047 /we4090 /we4098 /we4700")
+add_compile_flags("/we4047 /we4098 /we4700")
# Debugging
#if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")