Author | Message | |||||||
---|---|---|---|---|---|---|---|---|
Trunk compiling error.
| Trying to compile it all so I can start up my server, and while building I continuously get the error c:\users\****\desktop\trunk\src\world.cpp|1222|error: 'snprintf' was not declared in this scope|||=== Build failed: 1 error(s), 6 warning(s) (1 minute(s), 37 second(s)) ===| the lines here. 1218-1224 if (static_cast<int>(this->config["StartMap"])) { using namespace std; startmapinfo = ", `map`, `x`, `y`"; snprintf(buffer, 1024, ",%i,%i,%i", static_cast<int>(this->config["StartMap"]), static_cast<int>(this->config["StartX"]), static_cast<int>(this->config["StartY"])); startmapval = buffer; } How can I fix this issue?
|
Re: Trunk compiling error.
| Make sure you are using the correct version of gcc. From the wiki:
--- stay tuned.
|
Re: Trunk compiling error.
| Recent changes in the Mingw-get Installer is the problem. --- EO Resources/Guides: â—„ eobud.boards.net â–º
|
Re: Trunk compiling error.
| http://www.cplusplus.com/reference/cstdio/snprintf/ --- I not hacker “Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.†- Albert Einstein : Really Great Quote Ramy!
| |