Browse Source

boost: Disable weird includes for fenv.h and fstream.h

thegeorg 1 year ago
parent
commit
501684a88e

+ 0 - 4
build/sysincl/linux-musl.yml

@@ -12,7 +12,3 @@
   - sys/cdefs.h:     contrib/libs/musl/extra/sys/cdefs.h
   - sys/sysctl.h:    contrib/libs/musl/extra/sys/sysctl.h
   - xlocale.h:       contrib/libs/musl/extra/xlocale.h
-
-- source_filter: "^contrib/restricted/boost"
-  includes:
-    - ../include/fenv.h: contrib/libs/musl/include/fenv.h

+ 0 - 6
build/sysincl/misc.yml

@@ -237,12 +237,6 @@
   includes:
     - cuda.h:        contrib/deprecated/tf/tensorflow/core/platform/cuda.h
 
-# unused legacy include in boost
-- source_filter: "^contrib/restricted/boost"
-  includes:
-    - fstream.h
-    - ../include/fenv.h
-
 # windows sdk includes that we do not want to apply for whole arcadia
 - source_filter: "^contrib"
   includes:

+ 0 - 4
build/sysincl/stl-to-libcxx.yml

@@ -160,10 +160,6 @@
   # TODO: Forbid including <experimental/coroutine> upon migration to clang14
   - experimental/coroutine:    contrib/libs/cxxsupp/libcxx/include/experimental/coroutine
 
-- source_filter: "^contrib/restricted/boost"
-  includes:
-    - ../include/fenv.h: contrib/libs/cxxsupp/libcxx/include/fenv.h
-
 # This includes all headers needed to resolve includes in c-headers from libcxx listed above
 - includes:
   - __assert:                                     contrib/libs/cxxsupp/libcxx/include/__assert

+ 1 - 1
contrib/restricted/boost/iostreams/include/boost/iostreams/detail/fstream.hpp

@@ -16,7 +16,7 @@
 #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
 # include <fstream>
 #else
-# include <fstream.h>
+# error #include <fstream.h>
 #endif 
 
 #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES