diff options
Diffstat (limited to 'ACE/ace/Synch.h')
-rw-r--r-- | ACE/ace/Synch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/ace/Synch.h b/ACE/ace/Synch.h index 6a6bf794258..5843c28fa8d 100644 --- a/ACE/ace/Synch.h +++ b/ACE/ace/Synch.h @@ -20,6 +20,10 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +// *NOTE*: never never never ever #include this file in a header +// --> #include "ace/Synch_Traits.h" instead and #include "ace/Synch.h" +// in the .cpp. This prevents multiple implicit template +// instantiations (linker errors on MSVC) #if !defined (DO_NOT_INCLUDE_SYNCH_H) /* All the classes have been moved out into their own headers as part of |