[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem building 0.6.13 with gcc 3.4
From: |
Brian Wallis |
Subject: |
Re: Problem building 0.6.13 with gcc 3.4 |
Date: |
Fri, 11 Aug 2006 07:31:36 +1000 |
User-agent: |
KMail/1.9.3 |
Diff -u as requested.
diff -u gnokii-0.6.13/include/compat.h gnokii-0.6.13.new/include/compat.h
--- gnokii-0.6.13/include/compat.h 2006-06-19 03:02:00.000000000 +1000
+++ gnokii-0.6.13.new/include/compat.h 2006-08-10 15:52:37.000000000 +1000
@@ -112,7 +112,7 @@
# else
# define GNOKII_API
# endif
-#elif (__GNUC__ - 0 > 3)
+#elif (__GNUC__ - 0 > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 3)
# define GNOKII_API __attribute__ ((visibility("default")))
#else
# define GNOKII_API
Common subdirectories: gnokii-0.6.13/include/data and
gnokii-0.6.13.new/include/data
Common subdirectories: gnokii-0.6.13/include/devices and
gnokii-0.6.13.new/include/devices
Common subdirectories: gnokii-0.6.13/include/gnokii and
gnokii-0.6.13.new/include/gnokii
diff -u gnokii-0.6.13/include/gnokii.h gnokii-0.6.13.new/include/gnokii.h
--- gnokii-0.6.13/include/gnokii.h 2006-06-19 03:02:00.000000000 +1000
+++ gnokii-0.6.13.new/include/gnokii.h 2006-08-10 15:40:16.000000000 +1000
@@ -57,7 +57,7 @@
#ifndef GNOKII_API
# if defined(WIN32) && defined(GNOKIIDLL_IMPORTS)
# define GNOKII_API __declspec(dllimport)
-# elif (__GNUC__ - 0 > 3)
+# elif (__GNUC__ - 0 > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 3)
# define GNOKII_API __attribute__ ((visibility("default")))
# else
# define GNOKII_API
--
brian...