Petr Machata a9044b
diff -urp boost_1_48_0~/boost/config/compiler/gcc.hpp boost_1_48_0/boost/config/compiler/gcc.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/config/compiler/gcc.hpp	2012-01-16 16:15:14.643239525 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/config/compiler/gcc.hpp	2012-01-16 16:21:24.072247987 +0100
Petr Machata a9044b
@@ -120,13 +120,13 @@
Petr Machata a9044b
      // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
Petr Machata a9044b
      // so does not define _WIN32 or its variants.
Petr Machata a9044b
 #    define BOOST_HAS_DECLSPEC
Petr Machata a9044b
-#    define BOOST_SYMBOL_EXPORT __attribute__((dllexport))
Petr Machata a9044b
-#    define BOOST_SYMBOL_IMPORT __attribute__((dllimport))
Petr Machata a9044b
+#    define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__))
Petr Machata a9044b
+#    define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
Petr Machata a9044b
 #  else
Petr Machata a9044b
-#    define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
Petr Machata a9044b
+#    define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
Petr Machata a9044b
 #    define BOOST_SYMBOL_IMPORT
Petr Machata a9044b
 #  endif
Petr Machata a9044b
-#  define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
Petr Machata a9044b
+#  define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
Petr Machata a9044b
 #else
Petr Machata a9044b
 // config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined  
Petr Machata a9044b
 #  define BOOST_SYMBOL_EXPORT
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/gil/gil_config.hpp boost_1_48_0/boost/gil/gil_config.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/gil/gil_config.hpp	2012-01-16 16:15:29.883239865 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/gil/gil_config.hpp	2012-01-16 16:17:49.096243036 +0100
Petr Machata a9044b
@@ -32,7 +32,7 @@
Petr Machata a9044b
 #if   defined(_MSC_VER)
Petr Machata a9044b
 #    define GIL_FORCEINLINE __forceinline
Petr Machata a9044b
 #elif defined(__GNUC__) && __GNUC__ > 3
Petr Machata a9044b
-#    define GIL_FORCEINLINE inline __attribute__ ((always_inline))
Petr Machata a9044b
+#    define GIL_FORCEINLINE inline __attribute__ ((__always_inline__))
Petr Machata a9044b
 #else
Petr Machata a9044b
 #    define GIL_FORCEINLINE inline
Petr Machata a9044b
 #endif