diff -r 4891d49809bb -r 2b3996fc09a1 core/com.nokia.carbide.cpp.compiler.doc.user/html/c_compiler/c_macro_args.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/c_compiler/c_macro_args.htm Mon Jul 19 15:31:48 2010 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/c_compiler/c_macro_args.htm Mon Jul 19 16:13:24 2010 -0500 @@ -1,25 +1,25 @@ - -
- - - -(ISO C, §6.10.3) The C compiler can accept # tokens that do not appear before arguments in macro definitions.
-#define add1(x) #x #1 // OK, but probably not what you wanted:
- // add1(abc) creates "abc"#1
- #define add2(x) #x "2" // OK: add2(abc) creates "abc2"
To use this feature, disable the ANSI Strict setting.
-See also “Checking for Standard C and Standard C++ Conformity”.
-
(ISO C, §6.10.3) The C compiler can accept # tokens that do not appear before arguments in macro definitions.
+#define add1(x) #x #1 // OK, but probably not what you wanted:
+ // add1(abc) creates "abc"#1
+ #define add2(x) #x "2" // OK: add2(abc) creates "abc2"
To use this feature, disable the ANSI Strict setting.
+See also “Checking for Standard C and Standard C++ Conformity”.
+