Hi,
ne 20. 1. 2019 v 17:10 odesílatel <svn_grass@osgeo.org> napsal:
Author: marisn
Date: 2019-01-20 08:10:39 -0800 (Sun, 20 Jan 2019)
New Revision: 73982
Modified: grass/trunk/include/gis.h--- grass/trunk/include/gis.h 2019-01-20 16:05:19 UTC (rev 73981)
+++ grass/trunk/include/gis.h 2019-01-20 16:10:39 UTC (rev 73982)
@@ -67,6 +67,13 @@
# define HOST_NEWLINE "\n"
#endif+/*! \brief Generate warning if function return value is unused */
+#if __GNUC_PREREQ (3,4)
+ #define WARN_UNUSED_RESULT __attribute__ ((warn_unused_result))
+#else
+ #define WARN_UNUSED_RESULT
+#endif
this macro is causing compilation error on Windows [1]. I took liberty
to modify macro in r73998.
Ma
[1] https://wingrass.fsv.cvut.cz/grass77/x86_64/logs/log-r73983-380/package.log
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa