__unnamed_XXXXXXX_1 why?
-
Hi, I'm moving my app from the VC6 environment to the VS.net environment and while the app comiles I'm confused about the behaviour of the Class View window. All of my typedefs now appear as enreies of the __unnamed_XXXXXXX_1 variety. Thus:
typedef struct { DWORD state[4]; /* state (ABCD) */ DWORD count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } MD5_CTX;
Results in : __unnamed_2a850dbe_1 and:typedef enum { POOL_MASTER, POOL_SLAVE, }POOL_THREAD_TYPE;
in: __unnamed_ddd563c5_1 Does anyone know why its doing that and how I stop it ? -
Hi, I'm moving my app from the VC6 environment to the VS.net environment and while the app comiles I'm confused about the behaviour of the Class View window. All of my typedefs now appear as enreies of the __unnamed_XXXXXXX_1 variety. Thus:
typedef struct { DWORD state[4]; /* state (ABCD) */ DWORD count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } MD5_CTX;
Results in : __unnamed_2a850dbe_1 and:typedef enum { POOL_MASTER, POOL_SLAVE, }POOL_THREAD_TYPE;
in: __unnamed_ddd563c5_1 Does anyone know why its doing that and how I stop it ?Hail Try to use full typedef notation, i.e.
typedef struct|enum type_name { ... ... } name;
In you case it will be something liketypedef struct _MD5_CTX { DWORD state[4]; /* state (ABCD) */ DWORD count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } MD5_CTX;
Hope it'll help. Valery -
Hail Try to use full typedef notation, i.e.
typedef struct|enum type_name { ... ... } name;
In you case it will be something liketypedef struct _MD5_CTX { DWORD state[4]; /* state (ABCD) */ DWORD count[2]; /* number of bits, modulo 2^64 (lsb first) */ unsigned char buffer[64]; /* input buffer */ } MD5_CTX;
Hope it'll help. Valery