Opened 9 years ago
Last modified 9 years ago
#8893 new Patches
Documentation Error
Reported by: | anonymous | Owned by: | Douglas Gregor |
---|---|---|---|
Milestone: | To Be Determined | Component: | signals |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | boost::signals, QT library | Cc: |
Description
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@…
Pawel Mroszczyk