$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2005-08-16 12:42:35
The mipspro build of regex gives repeated warnings in static_mutex.hpp:
mipspro-C++-action bin/boost/libs/regex/build/libboost_regex.so/mipspro/debug/cpp_regex_traits.o
cc-1460 CC: WARNING File = /tmp_mnt/netDISKS/cgi/IRIX4/cgi/vendor/library/boost/boost_1_33_0/boost/regex/pending/static_mutex.hpp, Line = 69
  Function function "boost::scoped_static_mutex_lock::locked" is redeclared
          "inline" after being called.
  inline bool scoped_static_mutex_lock::locked()const
                                        ^
I fixed it by declaring both 'operator void const*()' and 'bool 
locked()' inline in all 3 sections of the header:
diff -u -r1.1 -r1.2
--- boost/regex/pending/static_mutex.hpp        2005/08/12 17:26:18     1.1
+++ boost/regex/pending/static_mutex.hpp        2005/08/16 16:49:44     1.2
@@ -52,8 +52,8 @@
 public:
    scoped_static_mutex_lock(static_mutex& mut, bool lk = true);
    ~scoped_static_mutex_lock();
-   operator void const*()const;
-   bool locked()const;
+   inline operator void const*()const;
+   inline bool locked()const;
    void lock();
    void unlock();
 private:
@@ -99,8 +99,8 @@
 public:
    scoped_static_mutex_lock(static_mutex& mut, bool lk = true);
    ~scoped_static_mutex_lock();
-   operator void const*()const;
-   bool locked()const;
+   inline operator void const*()const;
+   inline bool locked()const;
    void lock();
    void unlock();
 private:
@@ -154,8 +154,8 @@
 public:
    scoped_static_mutex_lock(static_mutex& mut, bool lk = true);
    ~scoped_static_mutex_lock();
-   operator void const*()const;
-   bool locked()const;
+   inline operator void const*()const;
+   inline bool locked()const;
    void lock();
    void unlock();
 private:
-- Dick Hadsell 914-259-6320 Fax: 914-259-6499 Reply-to: hadsell_at_[hidden] Blue Sky Studios http://www.blueskystudios.com 44 South Broadway, White Plains, NY 10601