Server sourceumu windows'da build almak istiyorum vs19 ile fakat birsuru sql hatası alıyorum bunun düzenlemesini nasıl yaparım bilen var ise lütfen detaylı bir şekilde açıklasın.
[CODE lang="cpp" title="Yardım içeriği"]
//libthecore aç stdafx.h içerisinde
//Bul:
#define strtof(str, endptr) (float)strtod(str, endptr)
//Değiştir:
//#define strtof(str, endptr) (float)strtod(str, endptr)
//Arat:
struct timespec
{
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */
};
//Yorum satırına al:
//struct timespec
//{
// time_t tv_sec; /* seconds */
// long tv_nsec; /* and nanoseconds */
//};
//cmd_gm.cpp içerisinde
//Arat:
static const char msg[] = { };
//Değiştir:
static const char msg[] = { '\0' };
[/CODE]
[CODE lang="cpp" title="Yardım içeriği"]
//libthecore aç stdafx.h içerisinde
//Bul:
#define strtof(str, endptr) (float)strtod(str, endptr)
//Değiştir:
//#define strtof(str, endptr) (float)strtod(str, endptr)
//Arat:
struct timespec
{
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */
};
//Yorum satırına al:
//struct timespec
//{
// time_t tv_sec; /* seconds */
// long tv_nsec; /* and nanoseconds */
//};
//cmd_gm.cpp içerisinde
//Arat:
static const char msg[] = { };
//Değiştir:
static const char msg[] = { '\0' };
[/CODE]
Son düzenleme: