Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Incomplete
-
None
-
None
-
None
-
None
Description
There are a number of problems with the header files and their use in the qpid code base:
1. There are many header files with non standard header guards -
- either using incorrect definitions (some starting with double underscore, some with the header guards in the wrong place in the header file.
2. There are many header files that are included unnecessarily, making the compile times longer.
- This is especially true when a header file is included in another header file instead of an implementation file.
- There are (many?) cases where types could be forward declared instead of using the header file that defines them.