Make -Wno-main redundant
modified tools/rbuild/backend/mingw/modulehandler.cpp
-Wno-main now redundant
svn path=/trunk/; revision=37850
LPSTR szCmdLine, int nShow);
int
-main (int argc, const char *argv[], const char *environ[])
+main (int argc, const char *argv[])
{
char *szCmd;
STARTUPINFO startinfo;
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