E2019 'identifier' cannot be declared in an anonymous union (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

The compiler found a declaration for a member function or static member in an anonymous union.

Such unions can only contain data members.