SVN 12612 issue .
If the default.conf does not exist and the Cygwin compiler is not installed/detected then the compilerCYGWIN.cpp does not set the m_MasterPath and as such the deault.conf does not have a masterpath entry for the Cygwin compiler, which causes the auto detect code to fail on startup and therefore show the auto detect dialog with the Cygwin compiler showing invalid.
The fix is to change the compilerCYGWIN.cpp CompilerCYGWIN::AutoDetectInstallationDir() function to the following:
AutoDetectResult CompilerCYGWIN::AutoDetectInstallationDir()
{
if (platform::windows)
{
if (cbIsDetectedCygwinCompiler())
{
m_MasterPath = cbGetCygwinCompilerPathRoot();
return adrDetected;
}
else
{
m_MasterPath = "C:\cygwin64";
return adrGuessed;
}
}
else
{
m_MasterPath = cbGetCygwinCompilerPathRoot();
return adrGuessed;
}
}
Applied in [r12618]
Related
Commit: [r12618]