Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. _CRTDBG_MAP_ALLOC macro and Qt
Forum Updated to NodeBB v4.3 + New Features

_CRTDBG_MAP_ALLOC macro and Qt

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 7.2k 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.
  • S Offline
    S Offline
    steno
    wrote on last edited by
    #1

    I am trying to use the crt debugging library in windows. When I define the _CRTDBG_MAP_ALLOC macro, I get a lot of compiler errors in QString because there is a function already defined as realloc.

    The specific warning is,

    1>c:\qt\4.7.0-beta2\include\qtcore../../src/corelib/tools/qstring.h(127) : warning C4003: not enough actual parameters for macro 'realloc'

    Is there a work around for this, or is this a deficiency in qt?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      steno
      wrote on last edited by
      #2

      Found the answer to my problems, what what??

      "http://www.qtcentre.org/wiki/index.php?title=Memory_Leak_Detection_in_VS":http://www.qtcentre.org/wiki/index.php?title=Memory_Leak_Detection_in_VS

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved