Package: doxygen
Version: 1.4.5-1
Severity: important

Doxygen does not produce output for a class that is defined within an
anonymous namespace. The settings in the cfg include:

EXTRACT_ALL            = YES
EXTRACT_PRIVATE        = YES
EXTRACT_STATIC         = YES
EXTRACT_LOCAL_CLASSES  = YES

Classes in a named namespace are correctly processed. In the attached
example file, the inheritance diagram for class "world" includes
"world2::world2" and "world3", but "world1" is missing. No file is
generated for "world1".


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages doxygen depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-3  GCC support library
ii  libpng12-0                    1.2.8rel-1 PNG library - runtime
ii  libstdc++6                    4.0.2-3    The GNU Standard C++ Library v3

doxygen recommends no packages.

-- no debconf information
#include <iostream>

class world
{
	private:
		print_nothing() {};
	public:
		print_something() { std::cerr << "something" << std::endl; };
};

namespace {
	class world1 : public class world
	{
		private:
			int x;
		public:
			world1(int y) {x = y};
			print() { std::cerr << x << std::endl; };
	};
}

namespace world2 {
	class world2 : public class world
	{
		private:
			int x;
		public:
			world2(int y) {x = y};
			print() { std::cerr << x << std::endl; };
	};
}

class world3 : public class world
{
	private:
		int x;
	public:
		world3(int y) {x = y};
		print() { std::cerr << x << std::endl; };
};

Reply via email to