P
parag_paul
HI all,
Suppose I have a huge code base, And I have a very common header file.
Now there are mulitple places where this header file is kept.
This header file cannot be factored as it has different function
prototypes in different places.
Now can there be a safeguard at compile time to maintain the #defines
in the different headers files to be same .
ie suppose I add a new type in one of the header files and then want
that compile fails in the other directories which has the header file
with the same name, unless all the #defines are same in all.
Suppose I have a huge code base, And I have a very common header file.
Now there are mulitple places where this header file is kept.
This header file cannot be factored as it has different function
prototypes in different places.
Now can there be a safeguard at compile time to maintain the #defines
in the different headers files to be same .
ie suppose I add a new type in one of the header files and then want
that compile fails in the other directories which has the header file
with the same name, unless all the #defines are same in all.