https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78267

--- Comment #45 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #44 from Maxim Ostapenko <m.ostapenko at samsung dot com> ---
[...]
>> Otherwise the definition of SANITIZER_OS_TRACE results in
>> libsanitizer/sanitizer_common/sanitizer_mac.cc making calls to os_trace().
>
> This is probably insufficient, we would have errors with /usr/include/asl.h
> (see comment #10 for error messages) on darwin16. Shouldn't we ifdef out asl
> stuff too in this case?

That's one option.  Another would be to keep the
darwin_availabilityinternal part of my fixincludes patch, which would do
away with the unconditional use of __attribute__((availability)).

        Rainer

Reply via email to