How to see macros expansion?
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 07 Jul 2009 10:14:07 +0300
changeset 156 a53c8f8ada7d
parent 144 761a47cf5400
child 157 3c8b51cd094d
How to see macros expansion?
cpp.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cpp.rst	Tue Jul 07 10:14:07 2009 +0300
@@ -0,0 +1,12 @@
+-*- outline -*-
+
+* How to see macros expansion?
+
+** GCC.
+
+  $ cpp <file>.c
+
+** MSVC.
+
+  $ cl /E <file>.c
+