The following warning is very annoying. It is repeated many times.

In file included from ../libbase/ref_counted.h:29,
                 from ../server/gnash.h:40,
                 from render_handler_tri.h:29,
                 from render_handler_tri.cpp:22:
../libbase/container.h:55:1: warning: "_LIB_PTHREAD_TYPES_H" redefined


Please suppress the warning.

Thank you,
Hiroyuki Ikezoe
Index: libbase/container.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/container.h,v
retrieving revision 1.47
diff -u -p -r1.47 container.h
--- libbase/container.h	3 Nov 2006 15:28:00 -0000	1.47
+++ libbase/container.h	14 Nov 2006 12:13:03 -0000
@@ -49,7 +49,9 @@
 // file will be gone soon anyway.
 #ifndef HAVE_WINSOCK_H
 #define _LIB_PTHREAD_ 1
+#ifndef _LIB_PTHREAD_TYPES_H
 #define _LIB_PTHREAD_TYPES_H 1
+#endif
 #include <sys/types.h>
 #include <pthread.h>
 
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to