remove unused code and disable warnings
diff --git a/doc/changelog.md b/doc/changelog.md
index c549008..98588b6 100644
--- a/doc/changelog.md
+++ b/doc/changelog.md
@@ -1,5 +1,6 @@
# History
+* 2025/Sep/02 ver 7.30 add tcvtrowd2ps
* 2025/Aug/22 ver 7.29.2 add override specifiers to virtual methods
* 2025/Aug/16 ver 7.29.1 support ptr[integer value]
* 2025/Aug/15 ver 7.29 support addressing with label
diff --git a/readme.txt b/readme.txt
index e2bb87f..4212bb0 100644
--- a/readme.txt
+++ b/readme.txt
@@ -404,6 +404,7 @@
-----------------------------------------------------------------------------
◎履歴
+2025/09/02 ver 7.30 tcvtrowd2ps追加
2025/08/22 ver 7.29.2 override属性追加
2025/08/16 ver 7.29.1 ptr[整数] 形式のサポート
2025/08/15 ver 7.29 アドレッシングでラベルサポート
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index 0cdc27a..211f9ad 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -386,11 +386,6 @@
#endif
}
-template<class To, class From>
-inline const To CastTo(From p) XBYAK_NOEXCEPT
-{
- return (const To)(size_t)(p);
-}
namespace inner {
#ifdef _WIN32
diff --git a/xbyak/xbyak_util.h b/xbyak/xbyak_util.h
index 90364e6..3cee6c1 100644
--- a/xbyak/xbyak_util.h
+++ b/xbyak/xbyak_util.h
@@ -114,6 +114,10 @@
CPU detection class
@note static inline const member is supported by c++17 or later, so use template hack
*/
+#ifdef _MSC_VER
+ #pragma warning(push)
+ #pragma warning(disable : 4459)
+#endif
class Cpu {
public:
class Type {
@@ -752,6 +756,9 @@
}
int getAVX10version() const { return avx10version_; }
};
+#ifdef _MSC_VER
+ #pragma warning(pop)
+#endif
#ifndef XBYAK_ONLY_CLASS_CPU
class Clock {