This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/48865] It would be useful to have a way to check the value of a #define at preprocessing time
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 4 May 2011 17:13:42 +0000
- Subject: [Bug preprocessor/48865] It would be useful to have a way to check the value of a #define at preprocessing time
- Auto-submitted: auto-generated
- References: <bug-48865-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48865
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-04 17:10:49 UTC ---
Or, as I've just done, learn how to do it in your favourite editor. For mine
(vim) it's [i to display the value and [^i to jump to the definition, which
seems at least as good as the IDE you mention, and much quicker than changing
the code and compiling it.