Opened 5 years ago
Closed 5 years ago
#13236 closed Bugs (fixed)
bjam compile error
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.65.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Windows 10, Visual Studio 2012 SP5 boost_1_65_1\tools\build\src\engine\strings.c function:
void string_rtrim( string * self )
compilation error:
char * p = self->value + self->size - 1;
should be:
char * p = self->value[ self->size - 1 ];
Note:
See TracTickets
for help on using tickets.
The code looks correct to me, and the proposed fix is definitely wrong.
Oh, I see the problem. It was fixed here: https://github.com/boostorg/build/commit/2f84a23f8d747f4ebe9d29ea7e8722a543f33f2b#diff-d1006f106555421a11b74de014f07893