RAD Studio
ContentsIndex
PreviousUpNext
E2321: Declaration does not specify a tag or an identifier (C++)

This declaration doesn't declare anything. 

This may be a struct or union without a tag or a variable in the declaration. C++ requires that something be declared. 

For example:

struct
{
int a
};
//no tag or identifier
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!