Skip to content

Commit 602bd12

Browse files
committedMar 13, 2025
[cxx11] Unlist deprecated headers
For now remove deprecated headers from distribution. To test with pre-C++11, add these back to the non-deprecated list. Future clean up will remove these permanently. For #79
1 parent 4528d70 commit 602bd12

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed
 

‎src/util/Makefile.inc

+10-7
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,21 @@ UTIL_HEADER_FILES = \
8585
util/utypes.h \
8686
util/xdr.h
8787

88+
# These headers are not to be used after C++11, and will be deleted.
89+
DEPRECATED_UTIL_CXX_HEADER_FILES = \
90+
util/STL/functional.hh \
91+
util/dereference.hh \
92+
util/member_select.hh \
93+
util/binders.hh \
94+
util/compose.hh \
95+
util/ptrs_functional.hh
96+
8897
UTIL_CXX_HEADER_FILES = \
8998
$(UTIL_TCC_FILES:.tcc=.hh) \
9099
util/fig/xfig.hh \
91100
util/STL/back_inserter.hh \
92101
util/STL/allocator_fwd.hh \
93102
util/STL/container_iterator.hh \
94-
util/STL/functional.hh \
95103
util/STL/hash_map_fwd.hh \
96104
util/STL/hash_map.hh \
97105
util/STL/hash_map_utils.hh \
@@ -119,7 +127,6 @@ UTIL_CXX_HEADER_FILES = \
119127
util/copy_if.hh \
120128
util/counter.hh \
121129
util/convert.hh \
122-
util/dereference.hh \
123130
util/directory.hh \
124131
util/dirent.hh \
125132
util/discrete_interval_set_fwd.hh \
@@ -141,7 +148,6 @@ UTIL_CXX_HEADER_FILES = \
141148
util/maplikeset.hh \
142149
util/member_saver_fwd.hh \
143150
util/member_saver.hh \
144-
util/member_select.hh \
145151
util/memory/construct.hh \
146152
util/memory/deallocation_policy_fwd.hh \
147153
util/memory/deallocation_policy.hh \
@@ -233,10 +239,7 @@ UTIL_CXX_HEADER_FILES = \
233239
util/visitor_functor.hh \
234240
util/what_fwd.hh \
235241
util/wtf.hh \
236-
util/binders.hh \
237-
util/compose.hh \
238-
util/conditional.hh \
239-
util/ptrs_functional.hh
242+
util/conditional.hh
240243

241244
UTIL_CC_FILES = \
242245
util/IO_utils.cc \

0 commit comments

Comments
 (0)
Please sign in to comment.