mirror of
https://github.com/reactos/reactos.git
synced 2025-05-08 03:07:05 +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);
|
LPSTR szCmdLine, int nShow);
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, const char *argv[], const char *environ[])
|
main (int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
char *szCmd;
|
char *szCmd;
|
||||||
STARTUPINFO startinfo;
|
STARTUPINFO startinfo;
|
||||||
|
|
|
@ -2009,16 +2009,6 @@ MingwModuleHandler::GenerateOtherMacros ()
|
||||||
linkerflags );
|
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" );
|
fprintf ( fMakefile, "\n\n" );
|
||||||
|
|
||||||
// future references to the macros will be to get their values
|
// future references to the macros will be to get their values
|
||||||
|
|
Loading…
Reference in a new issue