ENH: remove warnings

This commit is contained in:
Bill Hoffman 2004-09-03 13:24:10 -04:00
parent c2ef51e181
commit 46a493ae74
3 changed files with 5 additions and 6 deletions

View File

@ -519,8 +519,3 @@ std::string cmLocalGenerator::ConvertToRelativeOutputPath(const char* p)
}
const char* cmLocalGenerator::GetFileLanguage(const char* ext)
{
// fill a map of languages enabled
return 0;
}

View File

@ -91,7 +91,6 @@ public:
cmLocalGenerator* GetParent(){return m_Parent;}
void SetParent(cmLocalGenerator* g) { m_Parent = g;}
const char* GetFileLanguage(const char*);
protected:
virtual void AddInstallRule(std::ostream& fout, const char* dest, int type,
const char* files, bool optional = false, const char* properties = 0);

View File

@ -2887,6 +2887,11 @@ OutputBuildObjectFromSource(std::ostream& fout,
{
switch(format)
{
// these are all handled by the if(lang) step now
case cmSystemTools::C_FILE_FORMAT:
case cmSystemTools::CXX_FILE_FORMAT:
case cmSystemTools::FORTRAN_FILE_FORMAT:
break;
case cmSystemTools::HEADER_FILE_FORMAT:
return;
case cmSystemTools::DEFINITION_FILE_FORMAT: