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
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/optional/optional.hpp boost_1_48_0/boost/optional/optional.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/optional/optional.hpp	2012-01-16 16:15:29.743239804 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/optional/optional.hpp	2012-01-16 16:17:47.488242994 +0100
Petr Machata a9044b
@@ -127,7 +127,7 @@ class aligned_storage
Petr Machata a9044b
     union
Petr Machata a9044b
     // This works around GCC warnings about breaking strict aliasing rules when casting storage address to T*
Petr Machata a9044b
 #if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS)
Petr Machata a9044b
-    __attribute__((may_alias))
Petr Machata a9044b
+    __attribute__((__may_alias__))
Petr Machata a9044b
 #endif
Petr Machata a9044b
     dummy_u
Petr Machata a9044b
     {
Petr Machata 45355f
diff -up /home/ant/rpm/BUILD/boost_1_53_0/boost/random/detail/integer_log2.hpp\~ /home/ant/rpm/BUILD/boost_1_53_0/boost/random/detail/integer_log2.hpp
Petr Machata 45355f
--- boost_1_53_0/boost/random/detail/integer_log2.hpp~	2013-01-25 18:06:07.000000000 +0100
Petr Machata 45355f
+++ boost_1_53_0/boost/random/detail/integer_log2.hpp	2013-02-07 17:37:53.000000000 +0100
Petr Machata a9044b
@@ -27,7 +27,7 @@ namespace detail {
Petr Machata a9044b
 #elif defined(BOOST_MSVC)
Petr Machata a9044b
 #define BOOST_RANDOM_DETAIL_CONSTEXPR __forceinline
Petr Machata a9044b
 #elif defined(__GNUC__) && __GNUC__ >= 4
Petr Machata 45355f
-#define BOOST_RANDOM_DETAIL_CONSTEXPR inline __attribute__((const)) __attribute__((always_inline))
Petr Machata 45355f
+#define BOOST_RANDOM_DETAIL_CONSTEXPR inline __attribute__((__const__)) __attribute__((__always_inline__))
Petr Machata a9044b
 #else
Petr Machata a9044b
 #define BOOST_RANDOM_DETAIL_CONSTEXPR inline
Petr Machata a9044b
 #endif