modified lib/3rdparty/mingw/main.c

Make -Wno-main redundant

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   -Wno-main now redundant

svn path=/trunk/; revision=37850
This commit is contained in:
KJK::Hyperion 2008-12-04 15:49:47 +00:00
parent 54e241e287
commit bf1d153d93
2 changed files with 1 additions and 11 deletions

View file

@ -20,7 +20,7 @@ extern int PASCAL WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
LPSTR szCmdLine, int nShow);
int
main (int argc, const char *argv[], const char *environ[])
main (int argc, const char *argv[])
{
char *szCmd;
STARTUPINFO startinfo;

View file

@ -2009,16 +2009,6 @@ MingwModuleHandler::GenerateOtherMacros ()
linkerflags );
}
if ( IsStaticLibrary ( module ) && module.isStartupLib )
{
fprintf ( fMakefile,
"%s += -Wno-main\n\n",
cflagsMacro.c_str () );
fprintf ( fMakefile,
"%s += -Wno-main\n\n",
cxxflagsMacro.c_str () );
}
fprintf ( fMakefile, "\n\n" );
// future references to the macros will be to get their values