Opened 7 years ago
Closed 7 years ago
#11566 closed Bugs (fixed)
atomic: int_sizes with MSVC 8 (ARM) problem due to definition of WCHAR_MAX
| Reported by: | Owned by: | timblechmann | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | atomic | 
| Version: | Boost 1.59.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description
For the Windows CE (ARM compiler) of VC 8 (15.00) the WCHAR_MAX seems also to be defined in a "strange" way:
#define WCHAR_MAX ((wchar_t)-1)
This causes the line to break.
For me changing the line 120 to
#if defined(_MSC_VER) && ( _MSC_VER <= 1310 || defined(UNDER_CE) && _MSC_VER <= 1500 )
works.
NB: The definition of WCHAR_MAX was changed in 15.01 to #define WCHAR_MAX 0xffff
  Note:
 See   TracTickets
 for help on using tickets.
    

fixed in develop