mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/xfa: add comments explaining the pragmas
This commit is contained in:
parent
50dc68bd21
commit
e827f0bdf1
@ -52,6 +52,11 @@ _Pragma("GCC diagnostic ignored \"-Warray-bounds\"")
|
||||
* This macro defines the symbols necessary to use XFA_START() and XFA_END().
|
||||
* It needs to be part of one single compilation unit.
|
||||
*
|
||||
* The pragmas prevent these errors:
|
||||
*
|
||||
* error: ISO C forbids empty initializer braces
|
||||
* error: ISO C forbids zero-size array ‘xfatest_const_end’
|
||||
*
|
||||
* @param[in] type name of the cross-file array
|
||||
* @param[in] name name of the cross-file array
|
||||
*/
|
||||
@ -69,6 +74,11 @@ _Pragma("GCC diagnostic ignored \"-Warray-bounds\"")
|
||||
* This macro defines the symbols necessary to use XFA_START() and XFA_END().
|
||||
* It needs to be part of one single compilation unit.
|
||||
*
|
||||
* The pragmas prevent these errors:
|
||||
*
|
||||
* error: ISO C forbids empty initializer braces
|
||||
* error: ISO C forbids zero-size array ‘xfatest_end’
|
||||
*
|
||||
* @param[in] type name of the cross-file array
|
||||
* @param[in] name name of the cross-file array
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user