Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only enable werror for debug (#5501) | KingCol13 | 2023-09-27 | 1 | -3/+10 |
| | |||||
* | Disable u8 prefix C++20 warning since we need it | Tiger Wang | 2022-02-17 | 1 | -2/+2 |
| | |||||
* | Fix build on Clang < 12 | Bond_009 | 2022-01-13 | 1 | -1/+10 |
| | |||||
* | Fix compilation with Clang 13.0.0 | Bond_009 | 2022-01-13 | 1 | -2/+2 |
| | | | | | | | | Clang 13 changes: * `-Wreserved-identifier` and `-Wunused-but-set-variable` got added * the `-Wreturn-std-move-in-c++11` option was removed Builds still fail when native optimizations are enabled | ||||
* | Compile the entire Lua stack as C++ | Tiger Wang | 2021-06-25 | 1 | -1/+6 |
| | | | | * Fixes #5216 | ||||
* | Fix march=native not being enabled | Tiger Wang | 2021-02-11 | 1 | -2/+11 |
| | | | | | | | * LINUX doesn't exist apparently, use UNIX instead + Add some platform-specific logic to determine whether to use mcpu or march - Remove duplicated compile option comments + Add STATUS level to messages | ||||
* | MSVC warnings | Tiger Wang | 2021-02-10 | 1 | -1/+10 |
| | |||||
* | Fix debug macro situation (#5114) | Tiger Wang | 2021-01-26 | 1 | -9/+0 |
| | | | Use the standard NDEBUG. | ||||
* | Warnings improvements | Tiger Wang | 2020-12-18 | 1 | -16/+20 |
| | | | | | | | | | * Turn off global-constructors warning. These are needed to implement cRoot signal handler functionality * Add Clang flags based on version lookup instead of a compile test. The CMake config process is single threaded and slow enough already * Reduced GetStackValue verbosity + Clarify EnchantmentLevel, StayCount, AlwaysTicked, ViewDistance signedness + Give SettingsRepositoryInterface a move constructor to simplify main.cpp code - Remove do {} while (false) construction in redstone handler | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -1/+14 |
| | | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Reduce buildlogspam | Tiger Wang | 2020-07-13 | 1 | -1/+4 |
| | | | | - Turn off unused parameter warning | ||||
* | Address comments | Tiger Wang | 2020-07-12 | 1 | -9/+9 |
| | |||||
* | Funktions | Tiger Wang | 2020-07-12 | 1 | -42/+37 |
| | |||||
* | More CMake cleanup | Tiger Wang | 2020-07-12 | 1 | -230/+72 |
| | |||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -0/+8 |
| | | | * Make our CMake slightly less insane | ||||
* | Enable C++17 in build | Peter Bell | 2020-05-09 | 1 | -15/+0 |
| | |||||
* | Update fmt to 6.2.0 (#4718) | peterbell10 | 2020-05-05 | 1 | -3/+3 |
| | | | * Update fmt to 6.2.0 | ||||
* | Support clang 10.0 (appleclang) and higher (#4302) | Bond-009 | 2018-10-15 | 1 | -2/+2 |
| | |||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -1/+1 |
| | | | | | | | * Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style. | ||||
* | Use target_compile_options instead of variables to add -fomit-frame-pointer to mbedtls | peterbell10 | 2017-08-24 | 1 | -7/+0 |
| | |||||
* | Add link to knowledge base. | peterbell10 | 2017-08-18 | 1 | -0/+2 |
| | |||||
* | SetFlags: Omit frame pointer in C arm debug builds | peterbell10 | 2017-08-18 | 1 | -0/+1 |
| | | | | Fixes mbedtls build failure with inline asm. | ||||
* | Documented steps for compilation | Tiger Wang | 2016-12-12 | 1 | -4/+4 |
| | | | | As requested by @madmaxoft. | ||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -1/+8 |
| | |||||
* | Change CROSSCOMPILE flag to NO_NATIVE_OPTIMIZATION (#3279) | Alexander Harkness | 2016-07-30 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | * Change CROSSCOMPILE flag to NOMARCHNATIVE. The old name was confusing, the new name describes exactly what it does. This fixes issue #3272 * Break configuration when using CROSSCOMPILE. This stops any old build scripts from producing broken builds. * Use NO_NATIVE_OPTIMIZATION rather than NOMARCHNATIVE. Addresses @madmaxoft's concerns. | ||||
* | Fixed Clang warnings. | Mattes D | 2016-01-06 | 1 | -0/+1 |
| | |||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Clang-3.8: Added ignore flag for double promotion | Lukas Pioch | 2015-12-30 | 1 | -0/+6 |
| | |||||
* | Working coverage build | tycho | 2015-12-18 | 1 | -0/+1 |
| | |||||
* | Fix musl + clang 3.6 compile error | worktycho | 2015-11-19 | 1 | -0/+3 |
| | |||||
* | Added the _UNICODE flag on Windows | Tiger Wang | 2015-09-26 | 1 | -0/+3 |
| | |||||
* | Fixed flags for ARM native debug build. | Mattes D | 2015-09-25 | 1 | -9/+13 |
| | | | | Also fixed indentation style to all-tabs. | ||||
* | Revert Clang compiler flag that breaks OS X build | Matti Hänninen | 2015-08-22 | 1 | -1/+0 |
| | |||||
* | Use container-based infrastructure for Travis | Tiger Wang | 2015-08-20 | 1 | -0/+7 |
| | |||||
* | Fix compilation on ARMv7.Fixes #2387. | Zack Piper | 2015-07-24 | 1 | -0/+4 |
| | |||||
* | Skip unknown cflag for Apple clang & remove cSemaphore | Cengiz Can | 2015-06-04 | 1 | -5/+7 |
| | |||||
* | Moved shared cmake flags to the CMAKE_C_FLAGS var | tycho | 2015-05-30 | 1 | -8/+2 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-28 | 1 | -0/+5 |
|\ | | | | | | | | | Conflicts: src/Inventory.cpp | ||||
| * | Support building on FreeBSD | linnemannr | 2015-05-25 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SetFlags.cmake Add -lexecinfo to linker flags for FreeBSD to resolve backtrace() lib/sqlite/CMakeLists.txt Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE and __POSIX_VISIBLE to the 199506 for POSIX.1c lib/tolua++/CMakeLists.txt src/CMakeLists.txt Add /usr/local/lib to the library search path for FreeBSD builds src/OSSupport/Errors.cpp Correct the strerror_r() implementation determination to check whether _GNU_SOURCE is defined, not what it evaluates to | ||||
* | | Fix clang 3.6 flags to only be used in clang 3.6 | tycho | 2015-05-24 | 1 | -10/+14 |
| | | |||||
* | | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 1 | -0/+4 |
|\| | |||||
| * | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 2015-05-23 | 1 | -0/+4 |
| | | |||||
* | | Added pthread as a link flag. | tycho | 2015-05-23 | 1 | -1/+2 |
| | | |||||
* | | Make -Werror disabling file only | tycho | 2015-05-19 | 1 | -11/+23 |
|/ | | | | Ad fix a load of warnings | ||||
* | Update GCC on Travis | Tiger Wang | 2014-11-23 | 1 | -24/+11 |
| | |||||
* | Fix flag name in gcc 4.6 and earlier | worktycho | 2014-10-09 | 1 | -8/+32 |
| | |||||
* | Enabled C++11 in gcc | worktycho | 2014-10-09 | 1 | -11/+9 |
| | |||||
* | Cleaned up flags | Tycho | 2014-09-10 | 1 | -5/+4 |
| | |||||
* | Update SetFlags.cmake | worktycho | 2014-09-06 | 1 | -1/+0 |
| | |||||
* | Added workaround for clang version | Tycho | 2014-09-06 | 1 | -4/+15 |
| | |||||
* | bumped cmake version min and fixed clang support | Tycho | 2014-09-06 | 1 | -2/+2 |
| | |||||
* | Wrong cmake var | worktycho | 2014-09-06 | 1 | -2/+2 |
| | |||||
* | Improve error message | worktycho | 2014-09-06 | 1 | -2/+2 |
| | |||||
* | Should now compile in clang 3.0 | worktycho | 2014-09-06 | 1 | -5/+16 |
| | |||||
* | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -0/+2 |
| | |||||
* | Removed the new old-style-cast warning from error treatment | archshift | 2014-07-26 | 1 | -1/+1 |
| | | | | This is a new warning included in clang that ships with OS X 10.10 Yosemite. | ||||
* | Made redundant semi not an error, fixed one more. | archshift | 2014-07-24 | 1 | -1/+1 |
| | |||||
* | Removed redundant semicolons and re-added warning | archshift | 2014-07-24 | 1 | -7/+7 |
| | |||||
* | SetFlags.cmake: don't use ${} expansion on if STREQUAL | archshift | 2014-07-03 | 1 | -1/+2 |
| | | | | See http://stackoverflow.com/questions/19982340/cmake-compare-to-empty-string-with-strequal-failed | ||||
* | Merge pull request #1129 from mc-server/CodeCoverageCondition | worktycho | 2014-06-27 | 1 | -2/+9 |
|\ | | | | | Moved CodeCoverage into a separate cmake condition. | ||||
| * | Added MSVC guard | worktycho | 2014-06-27 | 1 | -4/+6 |
| | | |||||
| * | Update SetFlags.cmake | worktycho | 2014-06-27 | 1 | -1/+1 |
| | | |||||
| * | Update SetFlags.cmake | worktycho | 2014-06-27 | 1 | -1/+1 |
| | | |||||
| * | CMake: Added log message for coverage. | madmaxoft | 2014-06-27 | 1 | -0/+1 |
| | | |||||
| * | Moved CodeCoverage into a separate cmake condition. | madmaxoft | 2014-06-27 | 1 | -2/+6 |
| | | |||||
* | | CMake: pthread is used only on Unix. | madmaxoft | 2014-06-27 | 1 | -4/+8 |
|/ | |||||
* | Fix cmake errors in msvc | worktycho | 2014-05-28 | 1 | -1/+5 |
| | |||||
* | Merge branch 'master' into chunksparsing/structs | Tycho | 2014-05-24 | 1 | -2/+2 |
|\ | |||||
| * | Fixed profiling flags for MSVC. | Mattes D | 2014-05-23 | 1 | -2/+2 |
| | | | | | | | | The profiler output contained no useful symbols before, because there were no symbols in the PDBs. | ||||
* | | Maybe coverage working? | Tycho | 2014-05-10 | 1 | -32/+47 |
|/ | |||||
* | Needs the -stdlib linker flag too. | archshift | 2014-04-26 | 1 | -0/+1 |
| | |||||
* | Move to line 47. | archshift | 2014-04-25 | 1 | -3/+1 |
| | |||||
* | Use libc++ on OSX | archshift | 2014-04-25 | 1 | -0/+3 |
| | | | | | Fixes issues with https://github.com/mc-server/MCServer/commit/f3dfc0349d7008efa50855c739d86918bdbf4a88 in XCode. Tested on Mac (Makefile and XCode) and Linux. | ||||
* | Revert moving gcc to g++11 in 18c3b1 | worktycho | 2014-04-22 | 1 | -8/+0 |
| | |||||
* | Compile fix? | Tiger Wang | 2014-04-17 | 1 | -0/+8 |
| | |||||
* | Removed the exit-time-destructors flag from clang. | madmaxoft | 2014-04-01 | 1 | -1/+1 |
| | | | | We don't care about exit-time destructors, at least for now. | ||||
* | Attempt at disabling the useless clang warnings. | madmaxoft | 2014-04-01 | 1 | -0/+1 |
| | | | | Ref.: #846, #847 | ||||
* | Merge branch 'master' into unreachable | Tycho | 2014-03-15 | 1 | -1/+0 |
|\ | | | | | | | | | Conflicts: SetFlags.cmake | ||||
| * | Merge branch 'master' into noreturn | Tycho | 2014-03-14 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | Conflicts: SetFlags.cmake | ||||
| * | | Added Noreturn attribtes to a couple of functions and made a missing noreturn an error | Tycho | 2014-03-14 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'master' into unreachable | Tycho | 2014-03-14 | 1 | -1/+1 |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: SetFlags.cmake | ||||
| * | | Fixed a couple of missing defs | Tycho | 2014-03-14 | 1 | -1/+1 |
| |/ | |||||
* / | Made unreachable code an error | Tycho | 2014-03-14 | 1 | -1/+1 |
|/ | |||||
* | made format-nonliteral an error | Tycho | 2014-03-11 | 1 | -1/+0 |
| | |||||
* | Move comment | Tycho | 2014-03-11 | 1 | -1/+1 |
| | |||||
* | Enable error on cast-align and unused macros | Tycho | 2014-03-10 | 1 | -1/+0 |
| | |||||
* | Only enable -Werror in gcc because gcc doesn't let you suppress enum missmatch warnings | Tycho | 2014-03-09 | 1 | -2/+2 |
| | |||||
* | Treat enum missmatches as warnings for now as there is such a large number of them. | Tycho | 2014-03-09 | 1 | -1/+1 |
| | |||||
* | Globals.h is now warnings free again. | Tycho | 2014-03-09 | 1 | -1/+1 |
| | | | | Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs | ||||
* | Lots more warnings | Tycho | 2014-03-09 | 1 | -0/+9 |
| | |||||
* | Enabled loads of clang warnings | Tycho | 2014-03-09 | 1 | -0/+2 |
| | |||||
* | Turned off Wunused-parameter | Tycho | 2014-03-09 | 1 | -1/+1 |
| | |||||
* | Turned on Werror | Tycho | 2014-03-07 | 1 | -1/+1 |
| | |||||
* | Fixed warnings | Tycho | 2014-03-07 | 1 | -1/+1 |
| | |||||
* | Fixed clang compile | worktycho | 2014-03-07 | 1 | -1/+6 |
| | |||||
* | Only use fast-math in exes | worktycho | 2014-03-07 | 1 | -6/+3 |
| | |||||
* | Enabled -ffast-math | worktycho | 2014-03-07 | 1 | -1/+6 |
| | |||||
* | Added -Wextra | Tycho | 2014-02-16 | 1 | -1/+1 |
| | |||||
* | Allow building MCADefrag at the same time as MCServer | Tycho | 2014-02-16 | 1 | -105/+86 |
| | |||||
* | Added a seperate module for Setting flags | Tycho | 2014-02-16 | 1 | -0/+208 |