[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/src |
Date: |
Sun, 31 Oct 2004 23:56:04 +0100 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv14854
Modified Files:
gsasl-compat.h
Log Message:
Only use __attribute__ with gcc 3.1 or later.
--- /home/cvs/gsasl/lib/src/gsasl-compat.h 2004/10/31 15:39:11 1.12
+++ /home/cvs/gsasl/lib/src/gsasl-compat.h 2004/10/31 22:56:04 1.13
@@ -23,8 +23,10 @@
# define GSASL_COMPAT_H
#ifndef __attribute__
-/* This feature is available in gcc versions 2.5 and later. */
-# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
+/* This feature is supposedly available in gcc versions 2.5 and later,
+ * but it behave badly in gcc 3.0.x (the compiler generate one warning
+ * for each use). Let's test for 3.1 or later. */
+# if __GNUC__ == 3 && __GNUC_MINOR__ > 0
# define __attribute__(Spec) /* empty */
# endif
#endif
- CVS gsasl/lib/src, (continued)
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/10/31