On 2006.07.26, Tom Jackson <[EMAIL PROTECTED]> wrote:
My version:
gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
But it works with:
gcc --version
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)
On 2006.07.27, aT <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] mqueue]# gcc --version
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47)
OK, building AOLserver 4.5.0 currently requires gcc 3.3.x or newer.
Here's a patch I *think* should work so it can be built with older
versions of gcc (see attached).
If you can apply the patch and test against gcc 3.2 and let me know if
it works or not, then I can commit the change for inclusion in 4.5.1.
-- Dossy
Index: include/nsattributes.h
===================================================================
RCS file: /cvsroot/aolserver/aolserver/include/nsattributes.h,v
retrieving revision 1.3
diff -u -r1.3 nsattributes.h
--- include/nsattributes.h 25 Aug 2005 15:46:11 -0000 1.3
+++ include/nsattributes.h 27 Jul 2006 11:48:59 -0000
@@ -38,8 +38,6 @@
#ifndef NSATTRS_H
#define NSATTRS_H
-#ifndef __GNUC__
-
# define _nsmalloc
# define _nspure
# define _nsconst
@@ -56,8 +54,6 @@
# define _nswarnunused
# define _nsmayalias
-#else
-
#ifdef __GNUC_MINOR__
#ifdef __GNUC_PREREQ
#undef __GNUC_PREREQ
@@ -120,8 +116,6 @@
#endif /* __GNUC__PREREQ */
-#endif /* __GNUC__ */
-
#define NS_RCSID(string) static const char *RCSID _nsunused = string \
", compiled: " __DATE__ " " __TIME__
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.