Yardım Multiprecision Include sonrası Number fonksiyonu

  • Konuyu açan Konuyu açan Elvia
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 0
  • Gösterim Gösterim 17
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

Elvia

Üye
Üye
Mesaj
47
Çözümler
1
Beğeni
25
Puan
329
Ticaret Puanı
0
LL'dan büyük hasarlar için Multiprecision include edip yeni bir veri oluşturdum fakat Metin2'deki Number fonksiyonları çakışıyor herhalde build esnasında şu şekilde hatalar alıyorum;


Build Error:
Genişlet Daralt Kopyala
In file included from ../../libthecore/include/stdafx.h:164,
                 from stdafx.h:12,
                 from ani.cpp:10:
../../libthecore/include/utils.h:47: note: macro "number" defined here
   47 | #define number(from, to) number_ex(from, to, __FILE__, __LINE__)
      |
In file included from ../../../Extern/include/boost/multiprecision/cpp_int.hpp:1                                                                              9,
                 from char.h:23,
                 from ani.cpp:11:
../../../Extern/include/boost/multiprecision/number.hpp:189:104: error: macro "n                                                                              umber" passed 3 arguments, but takes just 2
  189 |             && !boost::multiprecision::detail::is_variable_precision<Bac                                                                              kend>::value)>::type* = nullptr)
      |                                                                                                                                                                                      ^
In file included from ../../libthecore/include/stdafx.h:164,
                 from stdafx.h:12,
                 from ani.cpp:10:
../../libthecore/include/utils.h:47: note: macro "number" defined here
   47 | #define number(from, to) number_ex(from, to, __FILE__, __LINE__)
      |
In file included from ../../../Extern/include/boost/multiprecision/cpp_int.hpp:1                                                                              9,
                 from char.h:23,
                 from ani.cpp:11:
../../../Extern/include/boost/multiprecision/number.hpp:200:101: error: macro "n                                                                              umber" passed 3 arguments, but takes just 2
  200 |          && !boost::multiprecision::detail::is_variable_precision<Backen                                                                              d>::value)>::type* = nullptr)
      |                                                                                                                                                                                   ^
In file included from ../../libthecore/include/stdafx.h:164,
                 from stdafx.h:12,
                 from ani.cpp:10:
../../libthecore/include/utils.h:47: note: macro "number" defined here
   47 | #define number(from, to) number_ex(from, to, __FILE__, __LINE__)
      |
In file included from ../../../Extern/include/boost/multiprecision/cpp_int.hpp:1                                                                              9,
                 from char.h:23,
                 from ani.cpp:11:
../../../Extern/include/boost/multiprecision/number.hpp:211:101: error: macro "n                                                                              umber" passed 3 arguments, but takes just 2
  211 |          && !boost::multiprecision::detail::is_variable_precision<Backen                                                                              d>::value)>::type* = nullptr)
      |                                                                                                                                                                                   ^
In file included from ../../libthecore/include/stdafx.h:164,
                 from stdafx.h:12,
                 from ani.cpp:10:
../../libthecore/include/utils.h:47: note: macro "number" defined here
   47 | #define number(from, to) number_ex(from, to, __FILE__, __LINE__)
      |
In file included from ../../../Extern/include/boost/multiprecision/cpp_int.hpp:1                                                                              9,
                 from char.h:23,
                 from ani.cpp:11:
../../../Extern/include/boost/multiprecision/number.hpp:222:107: error: macro "n                                                                              umber" passed 3 arguments, but takes just 2
  222 |                || boost::multiprecision::detail::is_variable_precision<B                                                                              ackend>::value))>::type* = nullptr)
      |                                                                                                                                                                                         ^
In file included from ../../libthecore/include/stdafx.h:164,
                 from stdafx.h:12,
                 from ani.cpp:10:
../../libthecore/include/utils.h:47: note: macro "number" defined here
   47 | #define number(from, to) number_ex(from, to, __FILE__, __LINE__)
      |
In file included from ../../../Extern/include/boost/multiprecision/cpp_int.hpp:1                                                                              9,
                 from char.h:23,
                 from ani.cpp:11:
../../../Extern/include/boost/multiprecision/number.hpp:235:452: error: macro "n                                                                              umber" passed 5 arguments, but takes just 2
  235 |                                                                      (st                                                                              d::is_constructible<value_type, V>::value || std::is_convertible<V, std::string>                                                                              ::value) && (std::is_constructible<value_type, U>::value || std::is_convertible<                                                                              U, std::string>::value) && !std::is_same<value_type, self_type>::value && !std::                                                                              is_same<V, self_type>::value && !(std::is_convertible<V, value_type>::value && s                                                                              td::is_convertible<U, value_type>::value)>::type* = nullptr)
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ^
In file included from ../../libthecore/include/stdafx.h:164,
                 from stdafx.h:12,
                 from ani.cpp:10:
../../libthecore/include/utils.h:47: note: macro "number" defined here
   47 | #define number(from, to) number_ex(from, to, __FILE__, __LINE__)
      |
In file included from ../../../Extern/include/boost/multiprecision/cpp_int.hpp:1                                                                              9,
                 from char.h:23,
                 from ani.cpp:11:
../../../Extern/include/boost/multiprecision/number.hpp:256:154: error: macro "n                                                                              umber" passed 4 arguments, but takes just 2
  256 |    explicit inline BOOST_MP_CXX14_CONSTEXPR number(const std::basic_stri                                                                              ng_view<char, Traits>& view_x, const std::basic_string_view<char, Traits>& view_                                                                              y)
      |                                                                                                                                                                                                                                                                                                                      ^

Fikri olan veyahut Yardımcı olabilecek arkadaşlar Konu altına yazabilirler veyahut ö.m atabilirler
 
Geri
Üst