replace warnings with doxygen annotation