CCLOG and CCDictionary/CCArray

Is there a standard way to print CCArray and CCDictionary (without own printer based on typeid or dynamic_cast)? And what is the reason why CCLog function have no attribute(format(1,2)) on GCC and clang?

see my answer in this thread:
http://www.cocos2d-x.org/boards/6/topics/7180?r=34651