Not a comment for Doxygen

I am creating a project using Xcode using the OpenCV library. I get a compilation error saying

Not a comment for Doxygen's comments

in core.hpp and many other sources contained in the opencv framework. (Editor: I got my opencv infrastructure from somewhere on the Internet and had to link it to my project).

enter image description here

How to save yourself?

+6
source share
2 answers

You can go to "Build Settings" and search for documentation comments and set No Doxygen is just a format, you can skip this for code that you do not own.

+10
source

As a workaround:

  • Get rid of most warnings by clicking the yellow triangle and pressing the return button, which will do some automatic correction.

enter image description here

  1. For the one with an exclamation mark in the triangle, delete the part of the comment. enter image description here

Basically, this will change some comments in opencv sources. Since my local copy, not git clone. I assume that mostly the guys from opencv need to fix this. However, it would be nice to know which compiler option in Swift disables these warnings.

+3
source

All Articles