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. Other Discussions
  3. IT & Infrastructure
  4. Strange weird funny bug

Strange weird funny bug

Scheduled Pinned Locked Moved IT & Infrastructure
helpcsharpvisual-studiodebuggingperformance
3 Posts 3 Posters 29 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.
  • Z Offline
    Z Offline
    zqueezy
    wrote on last edited by
    #1

    hey folks, I found some really weird bug in my program and want to share it. unfortunately I can only describe it cause the project is too large to paste here. I added the CRT-Memory-leak finder and kept the "DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )"-macro very consistently in my source files. then I added a class in Visual Studio 2005. The class should create another class using the "new" operator. Somehow I got a: "Error 1 error C2065: '_NORMAL_BLOCK' : undeclared identifier ..." I searched for a very long time in my program cause and didn't find the bug. here's the tricky part: when I add "#include " at the top of the source file it works! well maybe someone else finds this helpful... although I'd really like to know the real source of the problem. greetings zqueezy

    P R 2 Replies Last reply
    0
    • Z zqueezy

      hey folks, I found some really weird bug in my program and want to share it. unfortunately I can only describe it cause the project is too large to paste here. I added the CRT-Memory-leak finder and kept the "DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )"-macro very consistently in my source files. then I added a class in Visual Studio 2005. The class should create another class using the "new" operator. Somehow I got a: "Error 1 error C2065: '_NORMAL_BLOCK' : undeclared identifier ..." I searched for a very long time in my program cause and didn't find the bug. here's the tricky part: when I add "#include " at the top of the source file it works! well maybe someone else finds this helpful... although I'd really like to know the real source of the problem. greetings zqueezy

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Would not really consider this a strange weird funny bug :|

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      1 Reply Last reply
      0
      • Z zqueezy

        hey folks, I found some really weird bug in my program and want to share it. unfortunately I can only describe it cause the project is too large to paste here. I added the CRT-Memory-leak finder and kept the "DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )"-macro very consistently in my source files. then I added a class in Visual Studio 2005. The class should create another class using the "new" operator. Somehow I got a: "Error 1 error C2065: '_NORMAL_BLOCK' : undeclared identifier ..." I searched for a very long time in my program cause and didn't find the bug. here's the tricky part: when I add "#include " at the top of the source file it works! well maybe someone else finds this helpful... although I'd really like to know the real source of the problem. greetings zqueezy

        R Offline
        R Offline
        Ravi Sant
        wrote on last edited by
        #3

        not strange or wierd

        // ♫ 99 little bugs in the code, // 99 bugs in the code // We fix a bug, compile it again // 101 little bugs in the code ♫

        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