Feature #451
closed
Use #define WIN32_LEAN_AND_MEAN when including <windows.h>
Added by Jörg Riesmeier almost 13 years ago.
Updated over 8 years ago.
Assignee:
Jan Schlamelcher
Description
While fixing some typos in the new header file "ofnetdb.h", I discovered that "windows.h" is included in this header file. In order to increase the performance of the compilation process, it should be checked whether compilation still works when defining WIN32_LEAN_AND_MEAN (directly in front of this include statement).
This also applies to all other files in the DCMTK (public and private part) where "windows.h" is included in this manner. This is especially true for header files!
- % Done changed from 0 to 100
Fixed in 02c64634b7bd466f2b1bba48c48738699f294443
- Status changed from New to Resolved
- % Done changed from 100 to 80
Other modules are still waiting to be changed ...
- Status changed from Resolved to Closed
Closed in commit #9f9d70dc5c93.
- % Done changed from 80 to 100
Was closed in commits #9f9d70dc5c93 and #d84184e83111ed (the latter not mentioning it though).
- Status changed from Closed to Reopened
- % Done changed from 100 to 80
Recent commits (e.g. bfe495a, 16b0782 and 3332ea4) again include "windows.h" without defining WIN32_LEAN_AND_MEAN even though it would be possible (tested at some places). There is also an include in a header file! This should be changed.
- Status changed from Reopened to Closed
- % Done changed from 80 to 100
Closed by commit #55fb9b8cefdc2820b.
Also available in: Atom
PDF