I need a utility to check conflicts in header guards. It would be nice if the utility could check if symbols and file names are consistent (using regex or something).
Regards, rn141.
EDIT:
Example 1. Broken header guard. Doesn't protect from multiple inclusion.
// my_file1.h
#ifndef my_project_my_file1_h__
#define my_project_my_fil1_h__ // should be my_project_my_file1_h__
// code goes here
#endif
Example 2. Conflicts with the above header guard.
// my_file2.h
#ifndef my_project_my_file1_h__ // should be my_project_my_file2_h__
#define my_project_my_file1_h__ // should be my_project_my_file2_h__
// code goes here
#endif