Author: hyperion
Date: Thu Dec 4 09:49:47 2008
New Revision: 37850
URL:
http://svn.reactos.org/svn/reactos?rev=37850&view=rev
Log:
modified lib/3rdparty/mingw/main.c
Make -Wno-main redundant
modified tools/rbuild/backend/mingw/modulehandler.cpp
-Wno-main now redundant
Modified:
trunk/reactos/lib/3rdparty/mingw/main.c
trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
Modified: trunk/reactos/lib/3rdparty/mingw/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/mingw/main.c?…
==============================================================================
--- trunk/reactos/lib/3rdparty/mingw/main.c [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/mingw/main.c [iso-8859-1] Thu Dec 4 09:49:47 2008
@@ -20,7 +20,7 @@
LPSTR szCmdLine, int nShow);
int
-main (int argc, const char *argv[], const char *environ[])
+main (int argc, const char *argv[])
{
char *szCmd;
STARTUPINFO startinfo;
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] Thu Dec 4
09:49:47 2008
@@ -2009,16 +2009,6 @@
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