Opened 9 years ago
Closed 9 years ago
#9073 closed Bugs (fixed)
Conflict names "realloc"
| Reported by: | Russian_Dragon | Owned by: | Ion Gaztañaga | 
|---|---|---|---|
| Milestone: | Boost 1.55.0 | Component: | interprocess | 
| Version: | Boost 1.54.0 | Severity: | Problem | 
| Keywords: | Conflict names realloc конфликт имен realloc | Cc: | 
Description
Hi.
In file "D:\Program Files (x86)\boost_1_54_0\boost\interprocess\detail\win32_api.hpp"
Line 1552 have a function "realloc".
It name conflict a name directives #define realloc.
Сonflict arises if the project to register directive "#define _CRTDBG_MAP_ALLOC"
#define _CRTDBG_MAP_ALLOC
#include <boost/interprocess/sync/interprocess_semaphore.hpp>
 
int main()
{
    return 0;
}
      Change History (2)
comment:1 by , 9 years ago
| Component: | None → interprocess | 
|---|---|
| Owner: | set to | 
comment:2 by , 9 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

(In [85589]) Fixes #9073