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
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 (4)
-
Ion Gaztañaga
-
Josh Juran
-
Larry Evans
-
Steven Watanabe