#1150 closed enhancement (fixed)Code tidy - missing inclusion guards on header files
Description
The following header files are missing their inclusion guards:
(Lib/libmd5/libmd5.h)
Also, some other header files do not use the common HM naming for their guard macro:
Attachments (1)Change History (8)comment:1 Changed 11 years ago by DefaultCC Plugin
Changed 11 years ago by karlsharmancomment:2 Changed 11 years ago by davidfcomment:3 Changed 11 years ago by ksuehring
When drafting the coding style guide, we had decided that mandating guard macros would be more safe. I also don't think that we have a problem here because nobody should be using compilers anymore that don't understand #pragma once (let me know if this is a wrong assumption).
But even if we decide to not use guard macros anymore, we should be consistent in all files. comment:4 Changed 11 years ago by fbossen
comment:5 Changed 11 years ago by ksuehring
comment:6 Changed 10 years ago by karlsharman
Fixed due to merger with RExt. comment:7 Changed 10 years ago by ksuehring
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
With the exception of Lib/TAppCommon/program_options_lite.h, all are protected by #pragma once, the more modern and less error prone method.