[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH v2] docs/misra: document the C dialect and translation toolchain assumptions.



On 20/06/23 17:05, Jan Beulich wrote:
On 20.06.2023 14:10, Roberto Bagnara wrote:
+   * - Token pasting of ',' and __VA_ARGS__
+     - ARM64, X86_64
+     - See Section "6.21 Macros with a Variable Number of Arguments" of 
GCC_MANUAL.
+
+   * - No arguments for '...' parameter of variadic macro
+     - ARM64, X86_64
+     - See Section "6.21 Macros with a Variable Number of Arguments" of 
GCC_MANUAL.

Seeing these I think you want to also mention our extensive use of
the pre-C99 way of variadic macros, which also includes pasting of
',' with something.

Good catch.  Added

   * - Named variadic macro arguments
     - ARM64, X86_64
     - See Section "6.21 Macros with a Variable Number of Arguments" of 
GCC_MANUAL.

Thanks,

   Roberto



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.