mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +00:00
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:
parent
54e241e287
commit
bf1d153d93
2 changed files with 1 additions and 11 deletions
2
reactos/lib/3rdparty/mingw/main.c
vendored
2
reactos/lib/3rdparty/mingw/main.c
vendored
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue