I am migrating an old project up to be compiled in newer versions of Visual Studio. I am getting a compiler error C4430 while compiling an old struct:
struct SHOP_ITEM_LIST
{
char title[50];
char description[200];
_ARRAY(SHOP_ITEM); // Another Struct with some integer and char array values
};
I researched that error and made out that since VC++2005, missing type specifiers aren't allowed anymore. It's not being interpreted as integer anymore.
I am not familiar with std::_Array< _Tp > and dont know how it behaves when being used in a struct with sizeof().
Would int _ARRAY(SHOP_ITEM);
just do the trick, or would it manipulate the size of the struct?
What is the proper way to upgrade this struct to VC++2005 and later?