Çözüldü game build ederken BOOST_PRAGMA_MESSAGE hatası (1 İzleyici)

Çözüldü game build ederken BOOST_PRAGMA_MESSAGE hatası
0
1K

servet7676

Moderator
ÜYE
Katılım
7 Kas 2022
Mesajlar
106
Tepkime puanı
322
Puanları
63
Konum
gaziantep
Ticaret Puanı: 0 / 0 / 0
C++:
Derleniyor -> main.cpp

In file included from ../../../Extern/include/boost/bind.hpp:30,

                 from main.cpp:74:

../../../Extern/include/boost/config/pragma_message.hpp:24:34: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.

   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))

      |                                  ^~~~~~~

../../../Extern/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE'

   36 | BOOST_PRAGMA_MESSAGE(

      | ^~~~~~~~~~~~~~~~~~~~

Game olusturuluyor -> ../game_r41138

Sorunu çözdüm, main.cpp de #include listesinde diğer boost tanımlamalarının üstüne;
#define BOOST_BIND_NO_PLACEHOLDERS
#include <boost/bind/bind.hpp>
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
 
Son düzenleme:

Konuya görüntüleyenler

R10dev.net'i ana ekrana ekle!
Üst