public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/cppunit/files: cppunit-1.12.1-warnings.patch
@ 2011-12-14 10:56 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; only message in thread
From: Tomas Chvatal (scarabeus) @ 2011-12-14 10:56 UTC (permalink / raw
  To: gentoo-commits

scarabeus    11/12/14 10:56:48

  Added:                cppunit-1.12.1-warnings.patch
  Log:
  Revision bump to shutup annoying warnings when using cppunit in your code (pretty simple patch :)).
  
  (Portage version: 2.2.0_alpha80/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-util/cppunit/files/cppunit-1.12.1-warnings.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/files/cppunit-1.12.1-warnings.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppunit/files/cppunit-1.12.1-warnings.patch?rev=1.1&content-type=text/plain

Index: cppunit-1.12.1-warnings.patch
===================================================================
--- misc/cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h	2007-01-12 05:54:34.000000000 +0100
+++ misc/build/cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h	2009-12-02 15:33:29.639857272 +0100
@@ -151,9 +151,7 @@
 #include <windows.h>
 #endif
 #define CPPUNIT_PLUGIN_IMPLEMENT_MAIN()               \
-  BOOL APIENTRY DllMain( HANDLE hModule,              \
-                         DWORD  ul_reason_for_call,   \
-                         LPVOID lpReserved )          \
+  BOOL APIENTRY DllMain( HANDLE, DWORD, LPVOID )      \
   {                                                   \
       return TRUE;                                    \
   }                                                   \
@@ -162,7 +160,7 @@
 // Unix
 #elif defined(CPPUNIT_HAVE_UNIX_DLL_LOADER) || defined(CPPUNIT_HAVE_UNIX_SHL_LOADER)
 #define CPPUNIT_PLUGIN_IMPLEMENT_MAIN()               \
-  int main( int argc, char *argv[] )                  \
+  int main( int, char *[] )                           \
   {                                                   \
     return 0;                                         \
   }                                                   \






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-14 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 10:56 [gentoo-commits] gentoo-x86 commit in dev-util/cppunit/files: cppunit-1.12.1-warnings.patch Tomas Chvatal (scarabeus)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox