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. The Lounge
  3. C++ Error C2371 :: redefinition; different basic types

C++ Error C2371 :: redefinition; different basic types

Scheduled Pinned Locked Moved The Lounge
helpc++visual-studio
3 Posts 3 Posters 2 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.
  • N Offline
    N Offline
    nums
    wrote on last edited by
    #1

    Good afternoon, Really a head scratcher this error...

    typedef EHC_CPRB EHC_PTR* EHC_CPRBP;

    Keep on getting an error C2371 and its only defined once in all header files in the VS solution... Don't know why the compiler is complaining about this .... Any help / guidance / tips will be greatly appreciated ! Thank you !

    OriginalGriffO C 2 Replies Last reply
    0
    • N nums

      Good afternoon, Really a head scratcher this error...

      typedef EHC_CPRB EHC_PTR* EHC_CPRBP;

      Keep on getting an error C2371 and its only defined once in all header files in the VS solution... Don't know why the compiler is complaining about this .... Any help / guidance / tips will be greatly appreciated ! Thank you !

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      As it says at the top of the page, this is not the forum for technical queries. Try asking here: C / C++ / MFC Discussion Boards[^] or here: Questions and Answers[^] But when you do, please try to give as much info as you can on the problem and what you are trying to do to fix it, why that doesn't work and so forth: Remember that we can't see your screen, access your HDD, or read your mind - so we only get what you tell us to work on! The better the info you give us, the better the solution we can give you.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • N nums

        Good afternoon, Really a head scratcher this error...

        typedef EHC_CPRB EHC_PTR* EHC_CPRBP;

        Keep on getting an error C2371 and its only defined once in all header files in the VS solution... Don't know why the compiler is complaining about this .... Any help / guidance / tips will be greatly appreciated ! Thank you !

        C Offline
        C Offline
        Calin Negru
        wrote on last edited by
        #3

        I’ll make a comment that has to do less with programming( it’s the lounge ) and more with common sense. I’ll give you a cultural example. If you say numbers and words are different basic types that’s not true. The Old Covenant for instance is about both words and numbers. If you take the Eastern Orthodox Church and Chinese culture that’s conflicting basic types. EOC is very sign oriented ( the cross for instance) the Chinese culture is very sign oriented as well. It’s a mismatch. (that’s not a problem because the two don’t meet in real life anyways.)

        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