Age | Commit message (Collapse) | Author |
|
* This is the current GCC version of debian 9
(cherry picked from commit 5a9ccae3e1115d6fb1dcc287b1cb2d45779fd39b)
|
|
This reverts commit 467e49c1fa3c13d0e574bc15c80e96fa1c560958.
|
|
https://travis-ci.org/TrinityCore/TrinityCore/builds/187588737#L985-L995
|
|
|
|
|
|
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
-> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
(builds commands and spells statically)
-> -DSCRIPTS=1 is -DSCRIPTS="static" now
(builds all modules statically)
-> -DSCRIPTS="dynamic"
(builds all modules dynamically)
-> Also the default value which is provided by the SCRIPTS
variable is overwriteable through the SCRIPTS_COMMANDS,
SCRIPTS_SPELLS... variable.
|
|
|
|
|
|
|
|
* exluding 32 bit when dyynamic linking is disabled.
|
|
* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
|
|
* Requested by Shauren
(cherry picked from commit fbc23c0713e98cb16d601c64e2e3e2a7716d2ab8)
|
|
This reverts commit 27bb569368363546e3690474320e54266b6d8071 and 98e7ab44615af90d477b845802da04f4f6c4d6cf.
|
|
|
|
|
|
* Setting all compiler flags in the cache led to circular bloating of
msvc cxx parameters (was visible in console) which caused MSVC to
rebuild the whole solution even on a small CMake change.
It's not neccessary anyway to set the cxx parameters to the cache
to take effect.
* I'm not sure if the workarround is still needed for MSVC 12+.
* Cleaning the CMake cache is recommended!
* ref #15671
|
|
|
|
More info here: http://blogs.msdn.com/b/vcblog/archive/2015/08/06/new-in-vs-2015-zc-throwingnew.aspx
Closes #15230
|
|
|
|
|
|
Suppress -Wmismatched-tags warnings on clang to avoid false positive warnings reported using gcc 4.8
(cherry picked from commit 879af88d2180ca0655fda87072308f6eb76e70ca)
|
|
On newer versions of Xcode, the preprocessor macro #DEBUG is not defined by default. In order to set the debug flag it has to be set manually. If this does not happen then in the "Common.h" file the preprocessor will assume that we are building under a release mode instead of the debug mode.
Ref: ad0cc83c842231fedd1eb9afe962176c17dc72ff
|
|
be default initialized for all builds, even when using WITH_WARNINGS
|
|
Thanks @Aridev
Closes #13820
|
|
Update 4 (includes 3) can be downloaded at http://www.microsoft.com/en-us/download/details.aspx?id=44921
Closes #13813
|
|
new behavior: elements of array 'array' will be default initialized
"If you want the new behavior, which is likely, because the array was explicitly added to the constructor's member initialization list, use the warning pragma to disable the warning. The new behavior should be fine for most users."
|
|
|
|
doesn't make sense in debug builds and interferes with Edit and Continue
Closes #13233
|
|
*Mac OS X fires off over 200 warnings related to gsoap about the deprecated register method. CMake has been patched to remove this warning.
*Updated all occurences of finite() to std::isfinite. The method finite() is not standardized by anyone aside from BSD. std::isfinite() however is standarized by C++
*Removed -ncurses and -pthread from OS X compilation. Now that we use Boost and C++11 there is no longer a need for pthread in OS X. All it does is throw a warning. However, ncurses isn't needed either as it's built into the OS X SDK and linked by default.
Note: There are only 5 remaining warnings left when compiling on OS X. I did not attempt to fix these as they were related to 3rd party libraries statically linked into the code. The 5 warnings left are all related to unused variables.
|
|
|
|
|
|
|
|
See wiki for latest build instructions under Mac OS X!
|
|
version we no longer support in msvc settings
|
|
|
|
|
|
This reverts commit ca7377369f603081259adea0ba49cb03e74e609f.
|
|
Signed-off-by: Nay <dnpd.dd@gmail.com>
|
|
|
|
being used 32-bit environment
|
|
Tested with:
- Windows 8 x64
- MySQL 5.5.30 win32
- OpenSSL 1.0.1c (32 bits)
- No PCH
- MinGW with GCC 4.7.0
TODO:
- Fix compile/link with PCH enabled
- Fix compile with WheatyExceptonionReport enabled (ignored for now)
- Fix compile of .rc files (ignored for now)
- Test with more platforms
|
|
it creates unwanted results when used with PCh on *nix platforms.
|
|
buildvariables accordingly
** Info from CMake:
** The OLD behavior for this policy is to place definition values given to add_definitions directly in the generated build rules without attempting to escape anything.
** The NEW behavior for this policy is to generate correct escapes for all native build tools automatically.
If this breaks build, let us know on irc : irc.rizon.net/#trinity
|
|
matching virtual function signatures. This will help scripters who might sometimes use a hook using improper parameters (or miss 'const' for example)
|
|
replace that in the flaglist with the lower boundary
|
|
the /Ym flag is adjusted by the compiler in MSVC2012, hence we need to set an upper limit to avoid disrupancies
Please note that this is not 'very well tested'.
|
|
enabled.
-Wwrite-strings is default enabled when -Wall is set in clang/gcc, hence removed.
-Woverloaded-virtual is now enabled for C++-code only, this removes the useless warnings when dabbling with C-only code.
|
|
Core: Fix warnings here and there
|
|
enough for full deployment)
|
|
with extra testing behind it.
|