Azerothcore-wotlk: Clang 10 build

Created on 22 Apr 2020  ·  10Comments  ·  Source: azerothcore/azerothcore-wotlk

SMALL DESCRIPTION:

Clang 10 build broken

EXPECTED BLIZZLIKE BEHAVIOUR:

build must be ok

CURRENT BEHAVIOUR:

Clang 10 build log https://paste2.org/h3efZ8VX

STEPS TO REPRODUCE THE PROBLEM:
  1. update clang to 10
  2. run cmake
  3. run make and upset
EXTRA NOTES:

part of this errors related to G3Dlib and can be fixed with https://github.com/azerothcore/azerothcore-wotlk/pull/2904 no its help only for gcc

BRANCH(ES):

master

AC HASH/COMMIT: 69d121fd0391a0bc3fe26edab483398a138c9e6b
OPERATING SYSTEM:
 ~/d/a/build   master   lsb_release -a
LSB Version:    n/a
Distributor ID: ManjaroLinux
Description:    Manjaro Linux
Release:    20.0
Codename:   Lysia

MODULES:

no clean master

OTHER CUSTOMIZATIONS: no

All 10 comments

Снимок экрана от 2020-04-23 01-14-30
fix for ngrid error
with g3d PR i get new error https://paste2.org/g49UyswF

I see the same behaviour
https://paste2.org/CaDsB1Ub

@Viste it's not fixed yet so why closing?

is not relevant for me.

@FrancescoBorzi I'm still working on this.. slowly, when time permits. Not sure it's specifically related to Clang10, seems more like a bunch of C++11 stuff so far.

@mishaparem just remove from cmake -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" because its just warnings in fact and this flags make them errors
and apply
image

@Viste some of the "just warnings" point to potential bugs

@mishaparem this shit works ok for few years with this potential bugs

@Viste umm, not sure why that's an argument to ignore potential bugs

@mishaparem I agree that warnings should be fixed, can you please report them in a new issue?

thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PivanDepolo picture PivanDepolo  ·  3Comments

dev-master21 picture dev-master21  ·  3Comments

lineagedr picture lineagedr  ·  3Comments

cts17 picture cts17  ·  3Comments

wowissues picture wowissues  ·  3Comments