Thread: [Doxygen-users] Mysterious singleton in .tag file causes warnings
Brought to you by:
dimitri
From: didje <dia...@pd...> - 2014-11-18 13:50:08
|
Hi, In our system, we have a namespace ABC, which refers to std classes such as List, Deque etc I generate a .tag file in the library TestLib, which uses some of these classes. When I generated that .tag file with 1.8.7, I saw the following in the .tag file: <compound kind="class"> <name>ABC::Deque</name> <filename>classABC_1_1Deque.html</filename> <templarg></templarg> <member kind="function"> <type></type> <name>Deque</name> <anchorfile>classABC_1_1Deque.html</anchorfile> <anchor>fghjfghjfghjygjfghjfghj</anchor> <arglist>()</arglist> </member> </compound> However, using the same sources, I generated the .tag file using 1.8.8 and now the line is as follows: <compound kind="singleton"> <name>ABC::Deque</name> <filename>classABC_1_1Deque.html</filename> <templarg></templarg> <member kind="function"> <type></type> <name>Deque</name> <anchorfile>classABC_1_1Deque.html</anchorfile> <anchor>fghjfghjfghjygjfghjfghj</anchor> <arglist>()</arglist> </member> </compound> I don't know what made the compound kind change to a "singleton". Various other libraries access the TestLib.tag file in the TestLib library. However, when they do so, warning messages appear, as follows: ~/doc/library/TestLib/TestLib.tag:1655: warning: Unknown compound attribute `singleton' found! ~/doc/library/TestLib/TestLib.tag:1656: warning: Unexpected tag `name' found ~/doc/library/TestLib/TestLib.tag:1657: warning: Unexpected tag `filename' found ~/doc/library/TestLib/TestLib.tag:1658: warning: Unexpected tag `templarg' found ~/doc/library/TestLib/TestLib.tag:1705: warning: Unexpected tag `member' found ~/doc/library/TestLib/TestLib.tag:1706: warning: tag `compound' was not expected! Why is the class Deque being called a singleton in 1.8.8, but was not in 1.8.7? Also, why are there warning messages for the singleton in 1.8.8 ? Thanks for any help. -- View this message in context: http://doxygen.10944.n7.nabble.com/Mysterious-singleton-in-tag-file-causes-warnings-tp6920.html Sent from the Doxygen - Users mailing list archive at Nabble.com. |
From: Dimitri v. H. <do...@gm...> - 2014-11-18 18:40:59
|
This is a known bug, see also https://bugzilla.gnome.org/show_bug.cgi?id=735376 and it has been fixed in GitHub in the meantime by this commit https://github.com/doxygen/doxygen/commit/92eb236037e857f38eaf24238815641a48540792 Regards, Dimitri > On 18 Nov 2014, at 14:43 , didje <dia...@pd...> wrote: > > Hi, > In our system, we have a namespace ABC, which refers to std classes such as > List, Deque etc > > I generate a .tag file in the library TestLib, which uses some of these > classes. > > When I generated that .tag file with 1.8.7, I saw the following in the .tag > file: > > <compound kind="class"> > <name>ABC::Deque</name> > <filename>classABC_1_1Deque.html</filename> > <templarg></templarg> > <member kind="function"> > <type></type> > <name>Deque</name> > <anchorfile>classABC_1_1Deque.html</anchorfile> > <anchor>fghjfghjfghjygjfghjfghj</anchor> > <arglist>()</arglist> > </member> > </compound> > However, using the same sources, I generated the .tag file using 1.8.8 and > now the line is as follows: > <compound kind="singleton"> > <name>ABC::Deque</name> > <filename>classABC_1_1Deque.html</filename> > <templarg></templarg> > <member kind="function"> > <type></type> > <name>Deque</name> > <anchorfile>classABC_1_1Deque.html</anchorfile> > <anchor>fghjfghjfghjygjfghjfghj</anchor> > <arglist>()</arglist> > </member> > </compound> > > I don't know what made the compound kind change to a "singleton". > > Various other libraries access the TestLib.tag file in the TestLib library. > However, when they do so, warning messages appear, as follows: > ~/doc/library/TestLib/TestLib.tag:1655: warning: Unknown compound attribute > `singleton' found! > ~/doc/library/TestLib/TestLib.tag:1656: warning: Unexpected tag `name' found > ~/doc/library/TestLib/TestLib.tag:1657: warning: Unexpected tag `filename' > found > ~/doc/library/TestLib/TestLib.tag:1658: warning: Unexpected tag `templarg' > found > ~/doc/library/TestLib/TestLib.tag:1705: warning: Unexpected tag `member' > found > ~/doc/library/TestLib/TestLib.tag:1706: warning: tag `compound' was not > expected! > > Why is the class Deque being called a singleton in 1.8.8, but was not in > 1.8.7? > Also, why are there warning messages for the singleton in 1.8.8 ? > > Thanks for any help. > > > > -- > View this message in context: http://doxygen.10944.n7.nabble.com/Mysterious-singleton-in-tag-file-causes-warnings-tp6920.html > Sent from the Doxygen - Users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users |