diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-12-07 20:15:17 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-12-07 20:36:47 +0300 |
commit | 9a84f81be34ee0fa230bb58cb29b63e03bb38f5b (patch) | |
tree | 7a3020a258fd2af28b173f22bf4dd5129b552b24 /contrib/tools/bison | |
parent | 804601bba447bdf2670674cf16b94c06d8e291a8 (diff) | |
download | ydb-9a84f81be34ee0fa230bb58cb29b63e03bb38f5b.tar.gz |
Disable empty resolving of locale/ includes
commit_hash:95b202071e63be729f1e78508c621c4aeebeadbb
Diffstat (limited to 'contrib/tools/bison')
-rw-r--r-- | contrib/tools/bison/.yandex_meta/__init__.py | 1 | ||||
-rw-r--r-- | contrib/tools/bison/lib/.yandex_meta/licenses.list.txt | 2 | ||||
-rw-r--r-- | contrib/tools/bison/lib/error.c | 4 | ||||
-rw-r--r-- | contrib/tools/bison/lib/obstack.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/contrib/tools/bison/.yandex_meta/__init__.py b/contrib/tools/bison/.yandex_meta/__init__.py index 40db21d761..34b99cdde3 100644 --- a/contrib/tools/bison/.yandex_meta/__init__.py +++ b/contrib/tools/bison/.yandex_meta/__init__.py @@ -200,6 +200,7 @@ bison = NixProject( disable_includes=[ "InnoTekLIBC/backend.h", "bits/libc-lock.h", + "libio/", "synch.h", "random.h", "OS.h", diff --git a/contrib/tools/bison/lib/.yandex_meta/licenses.list.txt b/contrib/tools/bison/lib/.yandex_meta/licenses.list.txt index 2de281995a..bad6d7d187 100644 --- a/contrib/tools/bison/lib/.yandex_meta/licenses.list.txt +++ b/contrib/tools/bison/lib/.yandex_meta/licenses.list.txt @@ -941,7 +941,7 @@ int obstack_exit_failure = EXIT_FAILURE; # endif # ifdef _LIBC -# include <libio/iolibio.h> +# error #include <libio/iolibio.h> # endif static __attribute_noreturn__ void diff --git a/contrib/tools/bison/lib/error.c b/contrib/tools/bison/lib/error.c index a2c8a4962b..e351dad009 100644 --- a/contrib/tools/bison/lib/error.c +++ b/contrib/tools/bison/lib/error.c @@ -68,7 +68,7 @@ unsigned int error_message_count; # define program_name program_invocation_name # include <errno.h> # include <limits.h> -# include <libio/libioP.h> +# error #include <libio/libioP.h> /* In GNU libc we want do not want to use the common name 'error' directly. Instead make it a weak alias. */ @@ -81,7 +81,7 @@ extern void __error_at_line (int status, int errnum, const char *file_name, # define error __error # define error_at_line __error_at_line -# include <libio/iolibio.h> +# error #include <libio/iolibio.h> # define fflush(s) _IO_fflush (s) # undef putc # define putc(c, fp) _IO_putc (c, fp) diff --git a/contrib/tools/bison/lib/obstack.c b/contrib/tools/bison/lib/obstack.c index 7a9d588478..e3a6f53c3a 100644 --- a/contrib/tools/bison/lib/obstack.c +++ b/contrib/tools/bison/lib/obstack.c @@ -319,7 +319,7 @@ int obstack_exit_failure = EXIT_FAILURE; # endif # ifdef _LIBC -# include <libio/iolibio.h> +# error #include <libio/iolibio.h> # endif static __attribute_noreturn__ void |