
AMDG The following pairs of files have identical include guards ./boost/concept_check/general.hpp ./boost/concept/detail/msvc.hpp ./boost/concept_check/msvc.hpp ./boost/concept/detail/msvc.hpp ./boost/filesystem/cerrno.hpp ./boost/cerrno.hpp ./boost/interprocess/containers/tree.hpp ./boost/interprocess/containers/detail/tree.hpp ./boost/mpl/min_max.hpp ./boost/mpl/max.hpp ./boost/mpl/vector/aux_/front.hpp ./boost/mpl/list/aux_/front.hpp ./boost/multi_index/identity_fwd.hpp ./boost/multi_index/identity.hpp ./boost/python/pointee.hpp ./boost/python/detail/pointee.hpp ./boost/spirit/phoenix/closures.hpp ./boost/lambda/closures.hpp ./boost/xpressive/proto/v1_/proto_typeof.hpp ./boost/xpressive/proto/proto_typeof.hpp ./libs/config/test/boost_no_dep_nested_class.ipp ./libs/config/test/boost_has_vc6_mem_templ.ipp ./libs/config/test/boost_no_mem_templates.ipp ./libs/config/test/boost_has_vc6_mem_templ.ipp ./libs/config/test/boost_no_std_allocator.ipp ./libs/config/test/boost_has_vc6_mem_templ.ipp ./libs/conversion/test.hpp ./libs/any/test.hpp ./libs/interprocess/example/print_container.hpp ./libs/interprocess/example/printcontainer.hpp ./libs/interprocess/test/expand_bwd_test_template.hpp ./libs/interprocess/test/allocation_test_template.hpp ./libs/interprocess/test/printcontainer.hpp ./libs/interprocess/example/printcontainer.hpp ./libs/interprocess/test/print_container.hpp ./libs/interprocess/example/printcontainer.hpp ./libs/iostreams/test/detail/utf8_codecvt_facet.hpp ./boost/detail/utf8_codecvt_facet.hpp ./libs/regex/test/regress/test_regex_search.hpp ./libs/regex/test/regress/test_partial_match.hpp ./libs/serialization/test/C.hpp ./libs/serialization/test/A.hpp ./libs/xpressive/perf/regex_comparison.hpp ./libs/regex/performance/regex_comparison.hpp ./tools/inspect/time_string.hpp ./tools/common/time_string.hpp In Christ, Steven Watanabe

Steven Watanabe wrote:
AMDG
The following pairs of files have identical include guards
./libs/config/test/boost_no_dep_nested_class.ipp ./libs/config/test/boost_has_vc6_mem_templ.ipp ./libs/config/test/boost_no_mem_templates.ipp ./libs/config/test/boost_has_vc6_mem_templ.ipp ./libs/config/test/boost_no_std_allocator.ipp ./libs/config/test/boost_has_vc6_mem_templ.ipp
Those files don't have include guards, so I assume the results are spurious.
./libs/regex/test/regress/test_regex_search.hpp ./libs/regex/test/regress/test_partial_match.hpp
Fixed in SVN. Thanks for doing this! John.

On 08/21/2007 03:11 PM, Steven Watanabe wrote:
AMDG
The following pairs of files have identical include guards
./boost/concept_check/general.hpp ./boost/concept/detail/msvc.hpp ./boost/concept_check/msvc.hpp ./boost/concept/detail/msvc.hpp ./boost/filesystem/cerrno.hpp ./boost/cerrno.hpp ./boost/interprocess/containers/tree.hpp ./boost/interprocess/containers/detail/tree.hpp . . .
Steven, do you have a program to detect files with identical include guards. I could you one at the moment :) -regards, Larry

AMDG On 01/22/2017 07:55 PM, Larry Evans wrote:
On 08/21/2007 03:11 PM, Steven Watanabe wrote:
The following pairs of files have identical include guards
./boost/concept_check/general.hpp ./boost/concept/detail/msvc.hpp ./boost/concept_check/msvc.hpp ./boost/concept/detail/msvc.hpp ./boost/filesystem/cerrno.hpp ./boost/cerrno.hpp ./boost/interprocess/containers/tree.hpp ./boost/interprocess/containers/detail/tree.hpp
. . .
Steven, do you have a program to detect files with identical include guards. I could you one at the moment :)
I might be able to track down the program I used for this, but it would probably be faster to write it again from scratch. I suspect that it was just a short perl script. In Christ, Steven Watanabe

On 01/22/2017 08:09 PM, Steven Watanabe wrote:
AMDG
On 01/22/2017 07:55 PM, Larry Evans wrote:
On 08/21/2007 03:11 PM, Steven Watanabe wrote:
The following pairs of files have identical include guards
./boost/concept_check/general.hpp ./boost/concept/detail/msvc.hpp ./boost/concept_check/msvc.hpp ./boost/concept/detail/msvc.hpp ./boost/filesystem/cerrno.hpp ./boost/cerrno.hpp ./boost/interprocess/containers/tree.hpp ./boost/interprocess/containers/detail/tree.hpp
. . .
Steven, do you have a program to detect files with identical include guards. I could you one at the moment :)
I might be able to track down the program I used for this, but it would probably be faster to write it again from scratch. I suspect that it was just a short perl script.
In Christ, Steven Watanabe
OK. Thanks anyway :) I'll give it a try myself. -Larry

On Jan 22, 2017, at 10:18 PM, Larry Evans <cppljevans@suddenlink.net> wrote:
On 01/22/2017 08:09 PM, Steven Watanabe wrote:
On 01/22/2017 07:55 PM, Larry Evans wrote:
Steven, do you have a program to detect files with identical include guards. I could you one at the moment :)
I might be able to track down the program I used for this, but it would probably be faster to write it again from scratch. I suspect that it was just a short perl script.
OK. Thanks anyway :) I'll give it a try myself.
Consider verifying that the include guard macro name is properly derived from the file's pathname. That protects you when renaming a header (and also catches typos), and has a complexity of O(1) instead of O(n^2) over the number of headers. Josh

On 23/01/2017 3:09, Steven Watanabe wrote:
AMDG
On 01/22/2017 07:55 PM, Larry Evans wrote:
On 08/21/2007 03:11 PM, Steven Watanabe wrote:
The following pairs of files have identical include guards
./boost/concept_check/general.hpp ./boost/concept/detail/msvc.hpp ./boost/concept_check/msvc.hpp ./boost/concept/detail/msvc.hpp ./boost/filesystem/cerrno.hpp ./boost/cerrno.hpp ./boost/interprocess/containers/tree.hpp ./boost/interprocess/containers/detail/tree.hpp
./boost/interprocess/containers/tree.hpp and ./boost/interprocess/containers/detail/tree.hpp don't exist in the repo. Best, Ion

AMDG On 01/23/2017 01:58 PM, Ion Gaztañaga wrote:
On 23/01/2017 3:09, Steven Watanabe wrote:
On 01/22/2017 07:55 PM, Larry Evans wrote:
On 08/21/2007 03:11 PM, Steven Watanabe wrote:
<snip> ./boost/interprocess/containers/tree.hpp ./boost/interprocess/containers/detail/tree.hpp
./boost/interprocess/containers/tree.hpp and ./boost/interprocess/containers/detail/tree.hpp
don't exist in the repo.
Not really surprising, given that the message Larry replied to was from almost 10 years ago. In Christ, Steven Watanabe
participants (5)
-
Ion Gaztañaga
-
John Maddock
-
Josh Juran
-
Larry Evans
-
Steven Watanabe