summaryrefslogtreecommitdiff
path: root/zen/legacy_compiler.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-10-02 14:42:30 -0400
committerB Stack <bgstack15@gmail.com>2020-10-02 14:42:30 -0400
commit8aaf029ab6046eb8cbe600a548d176c1418bd99a (patch)
treed8a89392817379e3036c42eedebf33d4fb372dfd /zen/legacy_compiler.h
parentMerge branch '11.1' into 'master' (diff)
downloadFreeFileSync-8aaf029ab6046eb8cbe600a548d176c1418bd99a.tar.gz
FreeFileSync-8aaf029ab6046eb8cbe600a548d176c1418bd99a.tar.bz2
FreeFileSync-8aaf029ab6046eb8cbe600a548d176c1418bd99a.zip
add upstream 11.2
Diffstat (limited to 'zen/legacy_compiler.h')
-rw-r--r--zen/legacy_compiler.h25
1 files changed, 18 insertions, 7 deletions
diff --git a/zen/legacy_compiler.h b/zen/legacy_compiler.h
index 82c404d8..ad5442fe 100644
--- a/zen/legacy_compiler.h
+++ b/zen/legacy_compiler.h
@@ -7,26 +7,37 @@
#ifndef LEGACY_COMPILER_H_839567308565656789
#define LEGACY_COMPILER_H_839567308565656789
+#include <version>
+/* C++ standard conformance:
+ https://en.cppreference.com/w/cpp/feature_test
+ https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros
+ https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
+
+ MSVC https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance
+
+ GCC https://gcc.gnu.org/projects/cxx-status.html
+ libstdc++ https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html
+
+ Clang https://clang.llvm.org/cxx_status.html#cxx20
+ libc++ https://libcxx.llvm.org/cxx2a_status.html */
-//https://en.cppreference.com/w/cpp/feature_test
-//https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros
-//https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations
-//https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html
namespace std
{
+
+
}
//---------------------------------------------------------------------------------
//constinit, consteval
- #define constinit2 constinit //GCC has it
+ #define constinit2 constinit //GCC, clang have it
#define consteval2 consteval //
namespace zen
{
-double from_chars(const char* first, const char* last);
-const char* to_chars(char* first, char* last, double num);
+double fromChars(const char* first, const char* last);
+const char* toChars(char* first, char* last, double num);
}
#endif //LEGACY_COMPILER_H_839567308565656789
bgstack15