Am 25.10.2017 um 10:02 schrieb didje:
> In doxygen, I am getting the following warning: Documented symbol `enum DDD
> NamespaceA::NamespaceB::XYZ' was not declared or defined.
>
> The enum in question is not even documented in doxygen so I don't know why
> the message above is showing up. Note that the enum is outside a class.
>
> namespace NamespaceA {
> namespace NamespaceB{
> enum DDD XYZ {
> SORT_ASC = 1,
> SORT_DESC = -1
> };
> }
> }
This is not valid C++ code!
g++ says:
ddd.hpp:3:6: error: use of enum 'DDD' without previous declaration
enum DDD XYZ {
^~~
ddd.hpp:4:5: error: 'SORT_ASC' was not declared in this scope
SORT_ASC = 1,
^~~~~~~~
ddd.hpp:5:5: error: 'SORT_DESC' was not declared in this scope
SORT_DESC = -1
^~~~~~~~~
ddd.hpp:3:10: error: scalar object 'NamespaceA::NamespaceB::XYZ' requires one element in initializer
enum DDD XYZ {
^~~
Not a Doxygen problem I would say
/S
--
----------------------------------------------------------------
/dev/random says: Canadian DOS: "Yer sure, eh?" [y/n]
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"
GPG Key fingerprint = 2DF5 E01B 09C3 7501 BCA9 9666 829B 49C5 9221 27AF |