Error compiling with new versions of YARP on Debian 6.0.1 machines.
/usr/local/include/yarp/os/Contact.h:334: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:344: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:354: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:365: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:375: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:391: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:405: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:416: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:429: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:441: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:459: error: wrong number of arguments specified for ‘__deprecated__’ attribute
/usr/local/include/yarp/os/Contact.h:473: error: wrong number of arguments specified for ‘__deprecated__’ attribute
Error compiling with new versions of YARP on Debian 6.0.1 machines.
The small hack for this can be seen on this line of yarp-devices root CMakeLists.txt: