Re: "warning: Internal inconsistency: member XXX does not belong to any container!"
Albert <[email protected]> Wed, 8 Aug 2018 14:07:39 +0200
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Message-ID | <CABOOx7ap2aVttGL8tKwkidcOA8dCziqgG+Ri9Ot6XpCeYG4wXg@mail.gmail.com> |
--===============8687685572798066604== Content-Type: multipart/alternative; boundary="00000000000067b5710572eb5bf8" --00000000000067b5710572eb5bf8 Content-Type: text/plain; charset="UTF-8" Dear Stephan, Don't know if this is still relevant, but I was not able to reproduce the problem with 1.8.11 nor with 1.8.14. When the problem is still persistent please open an issue at https://github.com/doxygen/doxygen/issues/new and attach a, small, self contained example (source+config file in a tar or zip) that allows us to reproduce the problem? Albert On Wed, Nov 9, 2016 at 5:48 PM, Stephen Pape <[email protected]> wrote: > Hello, > > I'm using Doxygen 1.8.11, which shipped with Ubuntu 16.04. I've also > tried 1.8.12, compiled from source, which has the same issue. > > I have an enum class like this: > > namespace foo { > > /** > * @brief is a strongly typed enum class representing a supported > processor type > */ > enum class CpuType { > /** @brief PowerPC Type 93 */ > CPU_PPC603 = 93, > /** @brief PowerPC Type 112 */ > CPU_PPC112 = 112, > /** @brief The Xtensa processor */ > CPU_XTENSA = 131, > /** @brief Catch-all for unsupported CPUs*/ > UNKNOWN_CPU_TYPE = -1 > }; > > } > > Doxygen prints out the following: > > /home/papes/git/libwdbrpc/include/const/CpuType.hh:24: warning: > Internal inconsistency: member CPU_PPC603 does not belong to any > container! > /home/papes/git/libwdbrpc/include/const/CpuType.hh:24: warning: > Internal inconsistency: member CPU_PPC603 does not belong to any > container! > /home/papes/git/libwdbrpc/include/const/CpuType.hh:26: warning: > Internal inconsistency: member CPU_PPC112 does not belong to any > container! > /home/papes/git/libwdbrpc/include/const/CpuType.hh:26: warning: > Internal inconsistency: member CPU_PPC112 does not belong to any > container! > /home/papes/git/libwdbrpc/include/const/CpuType.hh:28: warning: > Internal inconsistency: member CPU_XTENSA does not belong to any > container! > /home/papes/git/libwdbrpc/include/const/CpuType.hh:28: warning: > Internal inconsistency: member CPU_XTENSA does not belong to any > container! > /home/papes/git/libwdbrpc/include/const/CpuType.hh:31: warning: > Internal inconsistency: member UNKNOWN_CPU_TYPE does not belong to any > container! > /home/papes/git/libwdbrpc/include/const/CpuType.hh:31: warning: > Internal inconsistency: member UNKNOWN_CPU_TYPE does not belong to any > container! > > This happens with all of my enum classes, and I haven't found a way to > work around it. I can find the enum in Doxygen if I go through another > class that uses it, but none of the values are documented. Changing > them to be regular enums gets rid of the warning, but the values are > still not documented. > > Can anyone offer any insight? > > Thanks! > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Doxygen-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/doxygen-develop > --00000000000067b5710572eb5bf8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Dear Stephan,</div><div><br></div><div>Don't know= if this is still relevant, but I was not able to reproduce the problem wit= h 1.8.11 nor with 1.8.14.</div><div>When the problem is still persistent pl= ease open an issue at <a href=3D"https://github.com/doxygen/doxygen/issues/= new">https://github.com/doxygen/doxygen/issues/new</a> and attach a, small,= self contained example (source+config file in a tar or zip) that allows us= to reproduce the problem?</div><div><br></div><div>Albert<br></div></div><= div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Nov 9, 201= 6 at 5:48 PM, Stephen Pape <span dir=3D"ltr"><<a href=3D"mailto:srpape@g= mail.com" target=3D"_blank">[email protected]</a>></span> wrote:<br><bloc= kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc= c solid;padding-left:1ex">Hello,<br> <br> I'm using Doxygen 1.8.11, which shipped with Ubuntu 16.04. I've als= o<br> tried 1.8.12, compiled from source, which has the same issue.<br> <br> I have an enum class like this:<br> <br> namespace foo {<br> <br> /**<br> =C2=A0*=C2=A0 @brief is a strongly typed enum class representing a supporte= d<br> processor type<br> =C2=A0*/<br> enum class CpuType {<br> =C2=A0 =C2=A0 /** @brief PowerPC Type 93 */<br> =C2=A0 =C2=A0 CPU_PPC603 =3D 93,<br> =C2=A0 =C2=A0 /** @brief PowerPC Type 112 */<br> =C2=A0 =C2=A0 CPU_PPC112 =3D 112,<br> =C2=A0 =C2=A0 /** @brief The Xtensa processor */<br> =C2=A0 =C2=A0 CPU_XTENSA =3D 131,<br> =C2=A0 =C2=A0 /** @brief Catch-all for unsupported CPUs*/<br> =C2=A0 =C2=A0 UNKNOWN_CPU_TYPE =3D -1<br> };<br> <br> }<br> <br> Doxygen prints out the following:<br> <br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:24: warning:<br> Internal inconsistency: member CPU_PPC603 does not belong to any<br> container!<br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:24: warning:<br> Internal inconsistency: member CPU_PPC603 does not belong to any<br> container!<br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:26: warning:<br> Internal inconsistency: member CPU_PPC112 does not belong to any<br> container!<br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:26: warning:<br> Internal inconsistency: member CPU_PPC112 does not belong to any<br> container!<br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:28: warning:<br> Internal inconsistency: member CPU_XTENSA does not belong to any<br> container!<br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:28: warning:<br> Internal inconsistency: member CPU_XTENSA does not belong to any<br> container!<br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:31: warning:<br> Internal inconsistency: member UNKNOWN_CPU_TYPE does not belong to any<br> container!<br> /home/papes/git/libwdbrpc/<wbr>include/const/CpuType.hh:31: warning:<br> Internal inconsistency: member UNKNOWN_CPU_TYPE does not belong to any<br> container!<br> <br> This happens with all of my enum classes, and I haven't found a way to<= br> work around it. I can find the enum in Doxygen if I go through another<br> class that uses it, but none of the values are documented. Changing<br> them to be regular enums gets rid of the warning, but the values are<br> still not documented.<br> <br> Can anyone offer any insight?<br> <br> Thanks!<br> <br> ------------------------------<wbr>------------------------------<wbr>-----= -------------<br> Developer Access Program for Intel Xeon Phi Processors<br> Access to Intel Xeon Phi processor-based developer platforms.<br> With one year of Intel Parallel Studio XE.<br> Training and support from Colfax.<br> Order your platform today. <a href=3D"http://sdm.link/xeonphi" rel=3D"noref= errer" target=3D"_blank">http://sdm.link/xeonphi</a><br> ______________________________<wbr>_________________<br> Doxygen-develop mailing list<br> <a href=3D"mailto:[email protected]">Doxygen-develop@li= sts.<wbr>sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/doxygen-develop" re= l=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists= /listinfo/doxygen-develop</a><br> </blockquote></div><br></div> --00000000000067b5710572eb5bf8-- --===============8687685572798066604== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============8687685572798066604== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Doxygen-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/doxygen-develop --===============8687685572798066604==--