Opened 16 years ago
Closed 15 years ago
#896 closed Bugs (fixed)
<native-wchar_t>off does not work when build with vc-8.0
Reported by: | sielenk | Owned by: | René Rivera |
---|---|---|---|
Milestone: | Component: | build | |
Version: | None | Severity: | Showstopper |
Keywords: | Cc: |
Description (last modified by )
When the boost libraries are build with the build flag '-sBUILD="<native-wchar_t>off"' the resulting binaries still use the native wchar_t type. Reason/Fix: In vc-8_0-tools.jam the feature is defined as follows: --- snip --- feature native-wchar_t : on off ; flags vc-8_0 C++FLAGS : /Zc:forScope ; flags vc-8_0 C++FLAGS <native-wchar_t>on : /Zc:wchar_t ; --- snip --- But since 'on' is the default value for the new compiler, the defined flags are redundant and the flags for 'off' are missing. To fix, change it to --- snip --- feature native-wchar_t : on off ; flags vc-8_0 C++FLAGS : /Zc:forScope ; flags vc-8_0 C++FLAGS <native-wchar_t>off : /Zc:wchar_t- ; --- snip ---
Change History (2)
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Resolution: | Later → fixed |
Severity: | → Showstopper |
Status: | assigned → closed |
It seems BBv2 now handles this with brute force. It just turns on native wchar for any msvc >= 7. And there is no feature to do otherwise.
Note:
See TracTickets
for help on using tickets.