From ba4af74a0618683ecce953b925f9242230bd1d61 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 28 Nov 2019 18:22:01 +0100 Subject: [PATCH] Add reminder to rsversion.h that no C++ includes are admitted --- libretroshare/src/retroshare/rsversion.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretroshare/src/retroshare/rsversion.h b/libretroshare/src/retroshare/rsversion.h index a5e459a4a..b28aef021 100644 --- a/libretroshare/src/retroshare/rsversion.h +++ b/libretroshare/src/retroshare/rsversion.h @@ -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 ` will break compilation of + * RetroShare-gui on Windows. Therefore this file must be kept minimal. */