Hello,
Latest GIT version doens’t compile on GCC/Win32 because of the flag INTERNET_OPTION_DISABLE_AUTODIAL in the file file src/native\windows\juce_win32_Network.cpp. I’ve added the definition at the top of the file in the same way as the flag INTERNET_FLAG_NEED_FILE, which is already defined there:
#ifndef INTERNET_OPTION_DISABLE_AUTODIAL
#define INTERNET_OPTION_DISABLE_AUTODIAL 70
#endif
Also, compiling in Win32/GCC produces two minor warnings that can be easily fixed. Here are the fixes, if you want to add them to the official JUCE code. First line is the original, sencond line is the modified:
In src/native/windows/juce_win32_Files.cpp, line 541:
[code]- if (VerQueryValue (buffer, _T("\"), (LPVOID*) &vffi, &len))
-
if (VerQueryValue (buffer, (LPTSTR)_T("\\"), (LPVOID*) &vffi, &len))[/code]
In src/native/windows/juce_win32_PlatformUtils.cpp, line 58:
[code]- if (RegCreateKeyEx (rootKey, name, 0, L"", REG_OPTION_NON_VOLATILE,
-
if (RegCreateKeyEx (rootKey, name, 0, NULL, REG_OPTION_NON_VOLATILE, (KEY_WRITE | KEY_QUERY_VALUE), 0, &key, &result) == ERROR_SUCCESS[/code]
I’ve verifed that these changes produce clean compilations in both GCC (TDM-MinGW 4.4.1) and MSVC (Express 8.0), debug and release.