New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improper terminology: no such thing as a "define" -- it's called "macro" (Origin: bugzilla #672620) #4634

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status RESOLVED severity minor in component general for ---
Reported in version unspecified on platform Other
Assigned to: Dimitri van Heesch

On 2012-03-22 12:59:04 +0000, wrote:

One of the messages produced by doxygen is

file.c:32: warning: Member FOOBAR (define) of file file.c is not documented.

There is no such thing as a "define" in the C and C++ programming languages.
The International C89/C99/C++ Standards all call it "macro".
The language authors Kernighan & Ritchie (and Stroustrup) call it "macro".
All the C and C++ books I ever read call it "macro".
The proper terminology is "macro", not "define".
Only newbie programmers and those unaware of proper terminology would
ever refer to macros as "defines". We don't call a loop a "for",
we don't call an addition a "plus".

Doxygen should stop promoting and spreading improper terminology.
It's easy to use the correct terminology, so please start doing so.

On 2012-03-22 19:56:30 +0000, Dimitri van Heesch wrote:

Indeed. Should be corrected in the next subversion update.

On 2012-05-19 12:26:22 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.1. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment