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

@@ -99,6 +99,21 @@ Notes and oddities:
the dlls into the program directory. However, on the Mac, scons links dynamically with
Boost.
Contributing
------------
If you want to contribute code to the project, please open a pull request.
Be sure to read the [style guide](StyleGuide.md) before coding.
This project targets the subset of C++11 supported by both Xcode 4 and Visual Studio 2013.
That means that generally you can use C++11, but the following features (at least) are not permitted:
* Ref-qualifiers
* Attributes
* Inheriting constructors (via `using`)
* Unicode string literals
* User-defined literals
Helpful Links
-------------
* [BoE Forum at Spiderweb Software](http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/)

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
==========