summaryrefslogtreecommitdiff
path: root/include/compat.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-12-16 02:39:31 +0000
committerAttila Molnar <attilamolnar@hush.com>2014-01-04 19:31:29 +0100
commit428e8f4f693192a527065e5488bbc7fceb938b6f (patch)
tree00dc71a91e49531e4c37c2c429ddc24db026780b /include/compat.h
parent57d02ca02e441971bf27fae2c2ba5302c60e43c9 (diff)
Fix some Windows-related problems.
- Fix an error relating to the unavailability of std::back_inserter. - Fix loading configuration files when using relative paths. - Fix two methods in hashcomp being exported twice. - Remove some unimportant error messages.
Diffstat (limited to 'include/compat.h')
-rw-r--r--include/compat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/compat.h b/include/compat.h
index 0357f5478..fa75cd754 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -41,7 +41,6 @@
#if defined __clang__ || defined __GNUC__
# define CUSTOM_PRINTF(stringpos, firstpos) __attribute__((format(printf, stringpos, firstpos)))
#else
-# pragma message ("Warning! CUSTOM_PRINTF() does not work on your compiler!")
# define CUSTOM_PRINTF(stringpos, firstpos)
#endif
@@ -98,7 +97,6 @@
#elif defined _MSC_VER
# define DEPRECATED_METHOD(function) __declspec(deprecated) function
#else
-# pragma message ("Warning! DEPRECATED_METHOD() does not work on your compiler!")
# define DEPRECATED_METHOD(function) function
#endif