Author: rmottola
Date: Tue Sep 22 10:26:10 2015
New Revision: 39009

URL: http://svn.gna.org/viewcvs/gnustep?rev=39009&view=rev
Log:
Do not enable weak on mingw, because it works only with ELF

Modified:
    libs/base/trunk/ChangeLog
    libs/base/trunk/Headers/GNUstepBase/GSBlocks.h

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=39009&r1=39008&r2=39009&view=diff
==============================================================================
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Tue Sep 22 10:26:10 2015
@@ -1,3 +1,8 @@
+2015-09-22 Riccardo Mottola <[email protected]>
+
+       * Headers\GNUstepBase\GSBlocks.h
+       Do not enable weak on mingw, because it works only with ELF.
+
 2015-09-18 Riccardo Mottola <[email protected]>
 
        * Headers/Foundation/NSError.h

Modified: libs/base/trunk/Headers/GNUstepBase/GSBlocks.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Headers/GNUstepBase/GSBlocks.h?rev=39009&r1=39008&r2=39009&view=diff
==============================================================================
--- libs/base/trunk/Headers/GNUstepBase/GSBlocks.h      (original)
+++ libs/base/trunk/Headers/GNUstepBase/GSBlocks.h      Tue Sep 22 10:26:10 2015
@@ -117,8 +117,13 @@
  * by an application.
  */
 
+/* weak attributed supported only with ELF, MINGW is COFF */
+#ifndef __MINGW32__
+
 void *_Block_copy(void *) __attribute__((weak));
 void _Block_release(void *) __attribute__((weak));
+
+#endif /* __MINGW32__ */
 
 #ifdef __cplusplus
 }


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to