git: <errno.h>: Make ENOTRECOVERABLE and EOWNERDEAD visible unconditionally.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Aug 15 03:41:13 PDT 2021


commit 1aeeca565fab6212c0630c9cf4494708445596d5
Author: Sascha Wildner <saw at online.de>
Date:   Sun Aug 15 12:40:20 2021 +0200

    <errno.h>: Make ENOTRECOVERABLE and EOWNERDEAD visible unconditionally.
    
    The problem here is that GCC will expect these errnos to be
    visible unconditionally for its C++ headers - and errors in
    <bits/error_constants> if they aren't - as soon as we set the
    HAVE_E* for them in GCC's config.h.
    
    On the other hand we have software such as www/qt5-webengine
    that sets _POSIX_C_SOURCE and/or _XOPEN_SOURCE to older standards
    that didn't specify those two errnos.
    
    If anything, it is rather a "fault" of GCC's C++ header handling
    than one of qt5-webengine.
    
    Reported-by: tuxillo

Summary of changes:
 sys/sys/errno.h | 2 --
 1 file changed, 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1aeeca565fab6212c0630c9cf4494708445596d5


-- 
DragonFly BSD source repository



More information about the Commits mailing list