Petr Machata a9044b
diff -urp boost_1_48_0~/boost/accumulators/statistics/sum_kahan.hpp boost_1_48_0/boost/accumulators/statistics/sum_kahan.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/accumulators/statistics/sum_kahan.hpp	2012-01-16 16:15:24.249239726 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/accumulators/statistics/sum_kahan.hpp	2012-01-16 16:18:41.088244223 +0100
Petr Machata a9044b
@@ -51,7 +51,7 @@ struct sum_kahan_impl
Petr Machata a9044b
     template<typename Args>
Petr Machata a9044b
     void 
Petr Machata a9044b
 #if BOOST_ACCUMULATORS_GCC_VERSION > 40305
Petr Machata a9044b
-    __attribute__((optimize("no-associative-math")))
Petr Machata a9044b
+    __attribute__((__optimize__("no-associative-math")))
Petr Machata a9044b
 #endif
Petr Machata a9044b
     operator ()(Args const & args)
Petr Machata a9044b
     {
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/accumulators/statistics/weighted_sum_kahan.hpp boost_1_48_0/boost/accumulators/statistics/weighted_sum_kahan.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/accumulators/statistics/weighted_sum_kahan.hpp	2012-01-16 16:15:24.271239755 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/accumulators/statistics/weighted_sum_kahan.hpp	2012-01-16 16:18:25.408243823 +0100
Petr Machata a9044b
@@ -52,7 +52,7 @@ namespace impl
Petr Machata a9044b
         template<typename Args>
Petr Machata a9044b
         void 
Petr Machata a9044b
 #if BOOST_ACCUMULATORS_GCC_VERSION > 40305
Petr Machata a9044b
-        __attribute__((optimize("no-associative-math")))
Petr Machata a9044b
+        __attribute__((__optimize__("no-associative-math")))
Petr Machata a9044b
 #endif
Petr Machata a9044b
         operator ()(Args const &args)
Petr Machata a9044b
         {
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/asio/buffers_iterator.hpp boost_1_48_0/boost/asio/buffers_iterator.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/asio/buffers_iterator.hpp	2012-01-16 16:15:26.550239797 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/asio/buffers_iterator.hpp	2012-01-16 16:17:45.880243120 +0100
Petr Machata a9044b
@@ -128,7 +128,7 @@ public:
Petr Machata a9044b
   /// Construct an iterator representing the beginning of the buffers' data.
Petr Machata a9044b
   static buffers_iterator begin(const BufferSequence& buffers)
Petr Machata a9044b
 #if BOOST_WORKAROUND(__GNUC__, == 4) && BOOST_WORKAROUND(__GNUC_MINOR__, == 3)
Petr Machata a9044b
-    __attribute__ ((noinline))
Petr Machata a9044b
+    __attribute__ ((__noinline__))
Petr Machata a9044b
 #endif
Petr Machata a9044b
   {
Petr Machata a9044b
     buffers_iterator new_iter;
Petr Machata a9044b
@@ -148,7 +148,7 @@ public:
Petr Machata a9044b
   /// Construct an iterator representing the end of the buffers' data.
Petr Machata a9044b
   static buffers_iterator end(const BufferSequence& buffers)
Petr Machata a9044b
 #if BOOST_WORKAROUND(__GNUC__, == 4) && BOOST_WORKAROUND(__GNUC_MINOR__, == 3)
Petr Machata a9044b
-    __attribute__ ((noinline))
Petr Machata a9044b
+    __attribute__ ((__noinline__))
Petr Machata a9044b
 #endif
Petr Machata a9044b
   {
Petr Machata a9044b
     buffers_iterator new_iter;
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/exception/detail/attribute_noreturn.hpp boost_1_48_0/boost/exception/detail/attribute_noreturn.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/exception/detail/attribute_noreturn.hpp	2012-01-16 16:15:24.814239755 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/exception/detail/attribute_noreturn.hpp	2012-01-16 16:17:41.416242878 +0100
Petr Machata a9044b
@@ -9,7 +9,7 @@
Petr Machata a9044b
 #if defined(_MSC_VER)
Petr Machata a9044b
 #define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
Petr Machata a9044b
 #elif defined(__GNUC__)
Petr Machata a9044b
-#define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn))
Petr Machata a9044b
+#define BOOST_ATTRIBUTE_NORETURN __attribute__((__noreturn__))
Petr Machata a9044b
 #else
Petr Machata a9044b
 #define BOOST_ATTRIBUTE_NORETURN
Petr Machata a9044b
 #endif
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/interprocess/offset_ptr.hpp boost_1_48_0/boost/interprocess/offset_ptr.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/interprocess/offset_ptr.hpp	2012-01-16 16:15:22.825239716 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/interprocess/offset_ptr.hpp	2012-01-16 16:19:06.241244783 +0100
Petr Machata a9044b
@@ -67,7 +67,7 @@ class offset_ptr
Petr Machata a9044b
    #if defined(_MSC_VER) && (_MSC_VER >= 1400)
Petr Machata a9044b
    __declspec(noinline) //this workaround is needed for msvc-8.0 and msvc-9.0
Petr Machata a9044b
    #elif defined (__GNUC__)//this workaround is needed for GCC
Petr Machata a9044b
-   __attribute__((noinline))
Petr Machata a9044b
+   __attribute__((__noinline__))
Petr Machata a9044b
    #endif
Petr Machata a9044b
    void set_offset(const PointedType *ptr)
Petr Machata a9044b
    {
Petr Machata a9044b
@@ -87,7 +87,7 @@ class offset_ptr
Petr Machata a9044b
    #if defined(_MSC_VER) && (_MSC_VER >= 1400)
Petr Machata a9044b
    __declspec(noinline)
Petr Machata a9044b
    #elif defined (__GNUC__)
Petr Machata a9044b
-   __attribute__((noinline))
Petr Machata a9044b
+   __attribute__((__noinline__))
Petr Machata a9044b
    #endif
Petr Machata a9044b
    PointedType * get_pointer() const
Petr Machata a9044b
    {
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/math/special_functions/detail/lanczos_sse2.hpp boost_1_48_0/boost/math/special_functions/detail/lanczos_sse2.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/math/special_functions/detail/lanczos_sse2.hpp	2012-01-16 16:15:30.509239887 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/math/special_functions/detail/lanczos_sse2.hpp	2012-01-16 16:17:52.376243192 +0100
Petr Machata a9044b
@@ -13,7 +13,7 @@
Petr Machata a9044b
 #include <emmintrin.h>
Petr Machata a9044b
 
Petr Machata a9044b
 #if defined(__GNUC__) || defined(__PGI)
Petr Machata a9044b
-#define ALIGN16 __attribute__((aligned(16)))
Petr Machata a9044b
+#define ALIGN16 __attribute__((__aligned__(16)))
Petr Machata a9044b
 #else
Petr Machata a9044b
 #define ALIGN16 __declspec(align(16))
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 a9044b
diff -urp boost_1_48_0~/boost/python/detail/config.hpp boost_1_48_0/boost/python/detail/config.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/python/detail/config.hpp	2012-01-16 16:15:19.994239647 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/python/detail/config.hpp	2012-01-16 16:20:20.080246608 +0100
Petr Machata a9044b
@@ -76,13 +76,13 @@
Petr Machata a9044b
 
Petr Machata a9044b
 #  if BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY
Petr Machata a9044b
 #     if defined(BOOST_PYTHON_SOURCE)
Petr Machata a9044b
-#        define BOOST_PYTHON_DECL __attribute__ ((visibility("default")))
Petr Machata a9044b
+#        define BOOST_PYTHON_DECL __attribute__ ((__visibility__("default")))
Petr Machata a9044b
 #        define BOOST_PYTHON_BUILD_DLL
Petr Machata a9044b
 #     else
Petr Machata a9044b
 #        define BOOST_PYTHON_DECL
Petr Machata a9044b
 #     endif
Petr Machata a9044b
 #     define BOOST_PYTHON_DECL_FORWARD
Petr Machata a9044b
-#     define BOOST_PYTHON_DECL_EXCEPTION __attribute__ ((visibility("default")))
Petr Machata a9044b
+#     define BOOST_PYTHON_DECL_EXCEPTION __attribute__ ((__visibility__("default")))
Petr Machata a9044b
 #  elif (defined(_WIN32) || defined(__CYGWIN__))
Petr Machata a9044b
 #     if defined(BOOST_PYTHON_SOURCE)
Petr Machata a9044b
 #        define BOOST_PYTHON_DECL __declspec(dllexport)
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/python/module_init.hpp boost_1_48_0/boost/python/module_init.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/python/module_init.hpp	2012-01-16 16:15:19.969239646 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/python/module_init.hpp	2012-01-16 16:20:45.160247063 +0100
Petr Machata a9044b
@@ -76,7 +76,7 @@ extern "C" __declspec(dllexport) _BOOST_
Petr Machata a9044b
 
Petr Machata a9044b
 #   define BOOST_PYTHON_MODULE_INIT(name)                               \
Petr Machata a9044b
   void BOOST_PP_CAT(init_module_,name)();                               \
Petr Machata a9044b
-extern "C" __attribute__ ((visibility("default"))) _BOOST_PYTHON_MODULE_INIT(name)
Petr Machata a9044b
+extern "C" __attribute__ ((__visibility__("default"))) _BOOST_PYTHON_MODULE_INIT(name)
Petr Machata a9044b
 
Petr Machata a9044b
 #  else
Petr Machata a9044b
 
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/random/detail/integer_log2.hpp boost_1_48_0/boost/random/detail/integer_log2.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/random/detail/integer_log2.hpp	2012-01-16 16:15:24.962239810 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/random/detail/integer_log2.hpp	2012-01-16 16:17:44.104242884 +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 a9044b
-#define BOOST_RANDOM_DETAIL_CONSTEXPR __attribute__((const)) __attribute__((always_inline))
Petr Machata a9044b
+#define BOOST_RANDOM_DETAIL_CONSTEXPR __attribute__((__const__)) __attribute__((__always_inline__))
Petr Machata a9044b
 #else
Petr Machata a9044b
 #define BOOST_RANDOM_DETAIL_CONSTEXPR inline
Petr Machata a9044b
 #endif
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/serialization/force_include.hpp boost_1_48_0/boost/serialization/force_include.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/serialization/force_include.hpp	2012-01-16 16:15:14.172239515 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/serialization/force_include.hpp	2012-01-16 16:22:14.424249130 +0100
Petr Machata a9044b
@@ -40,11 +40,11 @@
Petr Machata a9044b
 #   if defined(__MWERKS__)
Petr Machata a9044b
 #       define BOOST_DLLEXPORT __declspec(dllexport)
Petr Machata a9044b
 #   elif defined(__GNUC__) && (__GNUC__ >= 3)
Petr Machata a9044b
-#       define BOOST_USED __attribute__ ((used))
Petr Machata a9044b
+#       define BOOST_USED __attribute__ ((__used__))
Petr Machata a9044b
 #   elif defined(__IBMCPP__) && (__IBMCPP__ >= 1110)
Petr Machata a9044b
-#       define BOOST_USED __attribute__ ((used))
Petr Machata a9044b
+#       define BOOST_USED __attribute__ ((__used__))
Petr Machata a9044b
 #   elif defined(__INTEL_COMPILER) && (BOOST_INTEL_CXX_VERSION >= 800)
Petr Machata a9044b
-#       define BOOST_USED __attribute__ ((used))
Petr Machata a9044b
+#       define BOOST_USED __attribute__ ((__used__))
Petr Machata a9044b
 #   endif
Petr Machata a9044b
 #endif
Petr Machata a9044b
 
Petr Machata a9044b
diff -urp boost_1_48_0~/boost/xpressive/detail/core/adaptor.hpp boost_1_48_0/boost/xpressive/detail/core/adaptor.hpp
Petr Machata a9044b
--- boost_1_48_0~/boost/xpressive/detail/core/adaptor.hpp	2012-01-16 16:15:32.315239932 +0100
Petr Machata a9044b
+++ boost_1_48_0/boost/xpressive/detail/core/adaptor.hpp	2012-01-16 16:17:54.024243179 +0100
Petr Machata a9044b
@@ -41,7 +41,7 @@ struct xpression_adaptor
Petr Machata a9044b
       && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
Petr Machata a9044b
         // Ugh, gcc has an optimizer bug which elides this c'tor call
Petr Machata a9044b
         // resulting in pure virtual function calls.
Petr Machata a9044b
-        __attribute__((noinline))
Petr Machata a9044b
+        __attribute__((__noinline__))
Petr Machata a9044b
     #endif
Petr Machata a9044b
       : xpr_(xpr)
Petr Machata a9044b
     {