Jump to content
×
×
  • Create New...
  • 0

problem compile


bumxd

Question

Hi, i have problem compile novaline can anybody say what the error?

....    

                 ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of macro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of macro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of macro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:512:13: note: in expansion of macro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed);
             ^
../../../Extern/include/boost/static_assert.hpp:119:21: warning: typedef 'boost_static_assert_typedef_529' locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of macro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of macro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of macro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:529:13: note: in expansion of macro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(std::numeric_limits<T>::digits10 < CHAR_MAX);
             ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalApplys()':
dragon_soul_table.cpp:223:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulNames.size(); i++)
                                                ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSettings()':
dragon_soul_table.cpp:283:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                                                 ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTables()':
dragon_soul_table.cpp:311:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                                                 ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGradeTables()':
dragon_soul_table.cpp:343:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                                                 ^
dragon_soul_table.cpp:372:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int k = 0; k < vec_probs.size(); k++)
                                        ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStepTables()':
dragon_soul_table.cpp:397:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                                                 ^
dragon_soul_table.cpp:427:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int k = 0; k < vec_probs.size(); k++)
                                        ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStrengthTables()':
dragon_soul_table.cpp:453:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                                                ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHeartExtTables()':
dragon_soul_table.cpp:494:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                                                ^
dragon_soul_table.cpp:513:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int k = 0; k < vec_chargings.size(); k++)
                                           ^
dragon_soul_table.cpp:522:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int k = 0; k < vec_probs.size(); k++)
                                       ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoulExtTables()':
dragon_soul_table.cpp:545:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                                                ^
In file included from ../../../Extern/include/cryptopp/secblock.h:7:0,
                 from ../../../Extern/include/cryptopp/modes.h:8,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function]
 static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
                    ^
gmake: *** [OBJDIR/cipher.o] Error 1
buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)':
buff_on_attributes.cpp:113:8: warning: unused variable 'old_value' [-Wunused-variable]
    int old_value = sum_of_attr_value * m_bBuffValue / 100;
        ^
buff_on_attributes.cpp:114:8: warning: unused variable 'new_value' [-Wunused-variable]
    int new_value = sum_of_attr_value * bNewValue / 100;
        ^
In file included from ../../../Extern/include/boost/config.hpp:57:0,
                 from ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:16,
                 from ../../../Extern/include/boost/intrusive_ptr.hpp:16,
                 from event.h:10,
                 from stdafx.h:39,
                 from DragonSoul.cpp:1:
../../../Extern/include/boost/lexical_cast.hpp: In function 'CharT* boost::detail::lcast_put_unsigned(T, CharT*)':
../../../Extern/include/boost/static_assert.hpp:119:21: warning: typedef 'boost_static_assert_typedef_512' locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of macro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of macro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of macro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:512:13: note: in expansion of macro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed);
             ^
../../../Extern/include/boost/static_assert.hpp:119:21: warning: typedef 'boost_static_assert_typedef_529' locally defined but not used [-Wunused-local-typedefs]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of macro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of macro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of macro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:529:13: note: in expansion of macro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(std::numeric_limits<T>::digits10 < CHAR_MAX);
             ^
DragonSoul.cpp: In function 'int Gamble(std::vector<float>&)':
DragonSoul.cpp:19:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < vec_probs.size(); i++)
                                     ^
DragonSoul.cpp:25:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int idx = 0; idx < vec_probs.size(); idx++)
                                         ^
DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(LPITEM)':
DragonSoul.cpp:203:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int j = 0; j < vec_addtional_applys.size(); j++)
                                                 ^
DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(LPITEM)':
DragonSoul.cpp:273:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < vec_addtional_applys.size(); i++)
                                                 ^
DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(LPCHARACTER, LPITEM, LPITEM)':
DragonSoul.cpp:350:8: warning: unused variable 'sum' [-Wunused-variable]
  float sum = 0.f;
        ^
DragonSoul.cpp: In member function 'bool DSManager::PullOut(LPCHARACTER, TItemPos, CItem*&, LPITEM)':
DragonSoul.cpp:435:9: warning: unused variable 'dwVnum' [-Wunused-variable]
   DWORD dwVnum = pItem->GetVnum();
         ^
DragonSoul.cpp:469:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'double' [-Wformat=]
     sprintf(buf, "dice(%d) prob(%d)", fDice, fProb);
                                                   ^
DragonSoul.cpp:469:51: warning: format '%d' expects argument of type 'int', but argument 4 has type 'double' [-Wformat=]
DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(LPCHARACTER, TItemPos (&)[15])':
DragonSoul.cpp:555:8: warning: unused variable 'prob_sum' [-Wunused-variable]
  float prob_sum;
        ^
DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(LPCHARACTER, TItemPos (&)[15])':
DragonSoul.cpp:763:8: warning: unused variable 'sum' [-Wunused-variable]
  float sum = 0.f;
        ^
char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)':
char_dragonsoul.cpp:91:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[email protected]:/usr/src/novaline/Srcs/Server/game/src #

 

Don`t compiled..

 

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.