[Boost-bugs] [Boost C++ Libraries] #8893: Documentation Error

Subject: [Boost-bugs] [Boost C++ Libraries] #8893: Documentation Error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-24 09:38:17


#8893: Documentation Error
-----------------------+----------------------------------------
 Reporter: anonymous | Type: Patches
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.54.0
 Severity: Problem | Keywords: boost::signals, QT library
-----------------------+----------------------------------------
 Hello,

 Sorry for making a ticket here, I didn't know where to report this.
 Please forward to the right people.

 There's an error in the solution (code) proposed here:

 http://www.boost.org/doc/libs/1_54_0/doc/html/signals/s04.html

 Towards the end of the code:
 // Restore the macro definition of "signals", as it was
 // defined by Qt's <qobjectdefs.h>.
 # define signals protected

 that #define statement should be changed to

 # define signals public

 Otherwise, it works on GCC, but does not work on Visual C++, as VC++
 compiler will produce a different symbol (after name mangling), and the
 linker will report errors

 Otherwise, the solution works great. Thanks a million for having it!

 If you need to get a hold of me, you can reach me at
 pm_at_privacyprotector.eu

 Pawel Mroszczyk

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8893>
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 : 2017-02-16 18:50:13 UTC