64bit: C++ templates

Kai Tietz ktietz70@googlemail.com
Wed May 15 10:41:00 GMT 2013


Sorry, wrong patch.  Proper is:

Index: decl2.c
===================================================================
--- decl2.c     (Revision 198882)
+++ decl2.c     (Arbeitskopie)
@@ -2309,6 +2309,9 @@ static bool
 determine_hidden_inline (tree decl)
 {
   return (visibility_options.inlines_hidden
+#ifdef TARGET_PECOFF
+         && !TARGET_PECOFF
+#endif
          /* Don't do this for inline templates; specializations might not be
             inline, and we don't want them to inherit the hidden
             visibility.  We'll set it here for all inline instantiations.  */



More information about the Cygwin-developers mailing list