We had been using some directives in our code that are invalid in today's standards. eg. #COMMENT1
This used to work in very old version of gcc (2.x). I'm trying to move it off to new gcc (4.x) however I'm getting errors such as : "error: invalid preprocessing directive #COMMENT1"
Easy fix is to change # to // in those directives, but we cannot do that due to some other dependencies.
Question is, is there a way to tell cpp to ignore these invalid directives ?
However it should interpret the valid directives as it should eg #ifndef #define etc
Thank you!