Update notes about compatibility

This commit is contained in:
2023-01-07 15:49:09 -05:00
parent 6319d46d67
commit fa0db8b16b
2 changed files with 21 additions and 3 deletions

View File

@@ -266,9 +266,12 @@ For organizing the function popup menu, use `MARK:` comments rather than
To mark parameters as unused, omit the name or surround it in block
comment syntax. Other unused entities should be removed or commented out
if you want to avoid warnings, though if you think it might have a use
in the future, it's reasonable to leave it in with a comment. Do not use
any kind of attributes, including `__attribute__`, `__declspec`, and
C++11 attributes.
in the future, it's reasonable to leave it in with a comment.
Do not use any kind of attributes, including `__attribute__`, `__declspec`.
Do not even use C++11 attributes, as one of our target compilers does not support them.
However, if attributes are absolutely required for something, they can be
hidden behind a macro so that the code looks clean but still works on all compilers.
Formatting
==========