Hello,
Im currently playing with the GLGooey project which is making use of
your sigslot.h source.
When the compilation is made, I'm getting this kind of warning
concerning sigslot.h
SigSlot.h:2379: warning: `typename Gooey::Signal8<Type1, Type2,
Type3, Type4, Type5, Type6, Type7,
Type8>::ConnectionList::const_iterator' is implicitly a typename
SigSlot.h:2379: warning: implicit typename is deprecated, please see
the documentation for details
The "problematic" lines are the following ones:
void emit(Type1 a1, Type2 a2, Type3 a3, Type4 a4, Type5 a5, Type6
a6, Type7 a7, Type8 a8)
{
ConnectionList::const_iterator itNext, it =
_connectedSlots.begin();
ConnectionList::const_iterator itEnd = _connectedSlots.end();
Mac OS X is using the GCC 3.1 compiler
I don't have a clear idea of what kind of fix could remove
these warnings.
Regards,
s.sudre@free.fr
Logged In: YES
user_id=6581
GCC 3.X is more picky about syntax. The fix is to supply
typedefs of the form:
typedef typename sender_set::const_iterator const_iterator
I've uploaded a context diff to fix this bug, see patch
869997