Jump to content

[Help] Game Build Warnings


123fbalp123fb

Recommended Posts

Hello. I came with two warnings. Can anyone help understand? Thank you ...  (g++9 and C++11)

Warning - 1 

spacer.png

pragma_messahe.hpp

#if defined(BOOST_DISABLE_PRAGMA_MESSAGE)
# define BOOST_PRAGMA_MESSAGE(x)
#elif defined(__INTEL_COMPILER)
# define BOOST_PRAGMA_MESSAGE(x) __pragma(message(__FILE__ "(" BOOST_STRINGIZE(__LINE__) "): note: " x))
#elif defined(__GNUC__)
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))   /* 24.line  */
#elif defined(_MSC_VER)
# define BOOST_PRAGMA_MESSAGE(x) __pragma(message(__FILE__ "(" BOOST_STRINGIZE(__LINE__) "): note: " x))
#else
# define BOOST_PRAGMA_MESSAGE(x)
#endif

bind.hpp

BOOST_PRAGMA_MESSAGE(                            /* 26.line */
  "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."
)

 

############################################################

Warning - 2

spacer.png

regen.cpp 431.line

	while (true)
	{
		REGEN tmp;

		memset(&tmp, 0, sizeof(tmp));         /* 431.line  */

		if (!read_line(fp, &tmp))
			break;

regen.h 13.line

typedef struct regen      /* 13.line */
{
	LPREGEN	prev, next;
	long	lMapIndex;
	int		type;
	int		sx, sy, ex, ey;
	BYTE	z_section;

	BYTE	direction;
  .
  .
  .

regen.cpp 444.line

			if (!bOnce)
			{
				regen = M2_NEW REGEN;
				memcpy(regen, &tmp, sizeof(REGEN));       /* 444.line */
			}
			else
				regen = &tmp;

regen.cpp 531.line

	while (true)
	{
		REGEN tmp;

		memset(&tmp, 0, sizeof(tmp));  /*531.line */

		if (!read_line(fp, &tmp))
			break;

regen.cpp 625.line

		memset(&tmp, 0, sizeof(tmp));

regen.cpp 641.line

			memcpy(regen, &tmp, sizeof(REGEN));

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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


  • Similar Content

  • Activity

    1. 20

      Item ToolTip Width Fix

    2. 4

      Connection problem

    3. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    5. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    6. 1

      Sanii Switchbot problem

    7. 4

      Connection problem

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

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.