Globar var with c'tor args seen as function

"Barnes, Peter D. via Doxygen-users" <[email protected]> Wed, 22 Oct 2025 23:20:21 +0000
Newsgroups gmane.text.doxygen.general
Message-ID <SJ0PR09MB7280FE21F086A00E5E7DF267A5F3A@SJ0PR09MB7280.namprd09.prod.outlook.com>
--===============4612602288532754318==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_SJ0PR09MB7280FE21F086A00E5E7DF267A5F3ASJ0PR09MB7280namp_"

--_000_SJ0PR09MB7280FE21F086A00E5E7DF267A5F3ASJ0PR09MB7280namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hello Folks,

I=92ve got a global variable initialized with c=92tor arguments:
    int globalVar(1);

Doxygen gives a warning: return type is not documented, which I can=92t fig=
ure out how to fix.

My Doxyfile differs from the default only one significant item:

$ doxygen -x Doxyfile
# Difference with default Doxyfile 1.14.0
WARN_NO_PARAMDOC       =3D yes
INPUT                  =3D src

Any help would be greatly appreciated.
Peter
_____________________________________________________________

Dr. Peter D. Barnes, Jr.   (he,him)                         CASC Division, =
B451 R2035
Lawrence Livermore National Laboratory          Computation Directorate
7000 East Avenue, L-561                                       email:  pdbar=
[email protected]<mailto:[email protected]>
P. O. Box 808                                                           Voi=
ce:  (925) 422-3384
Livermore, California 94550



--_000_SJ0PR09MB7280FE21F086A00E5E7DF267A5F3ASJ0PR09MB7280namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
Hello Folks,</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
I=92ve got a global variable initialized with c=92tor arguments:</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
&nbsp; &nbsp; int globalVar(1);</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
Doxygen gives a warning: return type is not documented, which I can=92t fig=
ure out how to fix.</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
My Doxyfile differs from the default only one significant item:</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir=3D"ltr" style=3D"font-family: Monaco, Arial, Helvetica, sans-serif=
; font-size: 10pt; color: rgb(0, 0, 0);">
$ doxygen -x Doxyfile</div>
<div dir=3D"ltr" style=3D"font-family: Monaco, Arial, Helvetica, sans-serif=
; font-size: 10pt; color: rgb(0, 0, 0);">
# Difference with default Doxyfile 1.14.0</div>
<div style=3D"font-family: Monaco, Arial, Helvetica, sans-serif; font-size:=
 10pt; color: rgb(0, 0, 0);">
WARN_NO_PARAMDOC &nbsp; &nbsp; &nbsp; =3D yes</div>
<div dir=3D"ltr" style=3D"font-family: Monaco, Arial, Helvetica, sans-serif=
; font-size: 10pt; color: rgb(0, 0, 0);">
INPUT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=3D src=
</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
Any help would be greatly appreciated.</div>
<div dir=3D"ltr" style=3D"font-family: Aptos, Arial, Helvetica, sans-serif;=
 font-size: 12pt; color: rgb(0, 0, 0);">
Peter</div>
<div dir=3D"ltr" style=3D"font-family: Calibri, sans-serif; font-size: 11pt=
; color: black;">
_____________________________________________________________</div>
<div id=3D"ms-outlook-mobile-signature">
<p style=3D"text-align: left; margin: 0in;"><span style=3D"font-family: Cal=
ibri, sans-serif; font-size: 11pt; color: black;">Dr. Peter D. Barnes, Jr.&=
nbsp;&nbsp; (he,him)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbs=
p; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
CASC Division, B451 R2035<br>
Lawrence Livermore National&nbsp;Laboratory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;Computation Directorate<br>
7000 East Avenue, L-561&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style=3D"font-family: Calibri, sans=
-serif; font-size: 11pt; color: rgb(0, 120, 215);"><u><a href=3D"mailto:pdb=
[email protected]" title=3D"mailto:[email protected]" style=3D"color: rgb(0, 1=
20, 215); margin-top: 0px; margin-bottom: 0px;">email:
 &nbsp;[email protected]</a></u></span><span style=3D"font-family: Calibri,=
 sans-serif; font-size: 11pt; color: black;"><br>
P. O. Box 808&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Voice: &=
nbsp;(925) 422-3384<br>
Livermore, California 94550</span></p>
<p style=3D"margin: 0in; font-family: Aptos, sans-serif; font-size: 12pt;">=
&nbsp;</p>
</div>
</body>
</html>

--_000_SJ0PR09MB7280FE21F086A00E5E7DF267A5F3ASJ0PR09MB7280namp_--


--===============4612602288532754318==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4612602288532754318==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users

--===============4612602288532754318==--