I have problems with porting Windows application to Linux (GCC).
I have the following code in Windows (Visual Studio 2010 compiling it well): I have template class, that contains a structure.
template<typename bidtype>
class pst_bc_block : public pst_entries_block<bidtype>
{
public:
...
struct tag_bc
{
WORD ID;
WORD type;
DWORD value;
};
...
}
When I'm trying to do something like this:
pst_bc_block<bidtype>::tag_bc tag_value;
tag_value.ID = 6;
GCC can't resolve ID member.
P.S. All windows types are defined and VS comple it well.