I suggest you ...

Preprocessor output for a specific code section

The "-p run just the Preprocessor" option is very handy, but for me it often generates too much information to pour though when I'm trying to diagnose a specific macro issue.

It would be great if the preprocessor output could be enabled for a section of code, and send the output to a file and/or standard out.

e.g.:
//lint -p+
SOME_COMPLEX_MACRO(a,b,c,d,e);
//lint -p-

4 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    bryanbryan shared this idea  ·   ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  · 

        Do you know that Eclipse CDT has quite a fancy macro expansion that would satisfy your request?

      Feedback and Knowledge Base