Defines in files included by preprocessor are not honoured [message #576154] |
Fri, 21 August 2009 03:44  |
Eclipse User |
|
|
|
Hi. I have a somewhat important problem.
I have a set of defines that depend of the definition of other defines. The latter can be defined in the project, while the former can only be defined in the files. As they are needed in too many files of the project, I decided to create a file and write them there, and then just include that file for every project file that need those defines,
But the defines that are in the included file are not honoured,
Is this a bug of current MJT preprocessor, or it is designed this way? Can somebody give me a workaround if it is just a bug?
Thank you very much in advance, I really would appreciate a solution, because as the project advances, the need of defines is bigger and I don't want to have to write them all in every file, as it could be really messy.
Thanks again.
David Lucena.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03545 seconds