Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. __unnamed_XXXXXXX_1 why?

__unnamed_XXXXXXX_1 why?

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studioquestionworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bangerman
    wrote on last edited by
    #1

    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 ?

    V 1 Reply Last reply
    0
    • B Bangerman

      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 ?

      V Offline
      V Offline
      vmaltsev
      wrote on last edited by
      #2

      Hail Try to use full typedef notation, i.e. typedef struct|enum type_name { ... ... } name; In you case it will be something like typedef 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

      B 1 Reply Last reply
      0
      • V vmaltsev

        Hail Try to use full typedef notation, i.e. typedef struct|enum type_name { ... ... } name; In you case it will be something like typedef 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

        B Offline
        B Offline
        Bangerman
        wrote on last edited by
        #3

        Thanks for that, you were right. Your response is much appreciated.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups