Add reminder to rsversion.h that no C++ includes are admitted

This commit is contained in:
Gioacchino Mazzurco 2019-11-28 18:22:01 +01:00
parent 5bf8792bc5
commit ba4af74a06
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -79,3 +79,7 @@ constexpr auto RS_HUMAN_READABLE_VERSION =
RS_PRIVATE_STRINGIFY(RS_MAJOR_VERSION) "." \
RS_PRIVATE_STRINGIFY(RS_MINOR_VERSION) "." \
RS_PRIVATE_STRINGIFY(RS_MINI_VERSION) RS_EXTRA_VERSION;
/* Because RetroShare-gui include this file in gui/images/retroshare_win.rc
* including any C++ things like `#include <string>` will break compilation of
* RetroShare-gui on Windows. Therefore this file must be kept minimal. */