Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 7.1 For Macro Arguments?
#1
Hi,

Does rule 7.1, "Octal constants (other than zero) and octal escape sequences shall not be used", apply to function-like macro arguments? For example:
Code:
#define MACRO(a)    XYZ_##a

int MACRO(01);

Is the '01' argument to MACRO() a violation of this rule?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)