You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_NEWLIB_VERSION is only visible when any libc header is included. I ran
into a weird case where during libc++ compilation, __fwd/ios.h did not
see _NEWLIB_VERSION and defined off_t as `long long`, but in the actual
user program, _NEWLIB_VERSION was visible, so the program tried to use a
`long int` instead of `long long` specialization of a template function
that is provided by libc++.a, and caused linking failure.
The new cmake option was also used in another PR that I created; see
#167962.
0 commit comments