Re: [Boost-bugs] [Boost C++ Libraries] #13625: Boost.test fail to compile with -Werror=missing-declarations on some architectures

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13625: Boost.test fail to compile with -Werror=missing-declarations on some architectures
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-10-30 08:59:24


#13625: Boost.test fail to compile with -Werror=missing-declarations on some
architectures
------------------------------------------------+--------------------------
  Reporter: Martin Quinson <martin.quinson@…> | Owner: Raffi
                                                | Enficiaud
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.67.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------+--------------------------

Comment (by Raffi Enficiaud):

 I checked the option `-Werror=missing-declarations` on GCC and clang
 (apple). With GCC, nothing compiles and with clang everything works well.

 I believe that enabling this option is a bit annoying as it renders legit
 C++ to be erroneous. What I can do instead is to add the declaration of
 `init_unit_test` (and other variants) such that your code compiles.

 Would that be ok?

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13625#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-10-30 09:06:00 UTC