GCC/Clang compiling errors with LLVM 3.8

Moderators: Rachael, dpJudas

Locked
Edward-san
Developer
Developer
Posts: 197
Joined: Sun Nov 29, 2009 16:36

GCC/Clang compiling errors with LLVM 3.8

Post by Edward-san » Wed Nov 30, 2016 13:11

Last changes added these new errors:

Code: Select all

/home/edward-san/zdoom/qzdoom/tools/drawergen/drawergen.cpp:507:10: error: no
      member named 'StackSymbolOrdering' in 'llvm::TargetOptions'
        options.StackSymbolOrdering = true;
        ~~~~~~~ ^
/home/edward-san/zdoom/qzdoom/tools/drawergen/drawergen.cpp:510:10: error: no
      member named 'ExceptionModel' in 'llvm::TargetOptions'
        options.ExceptionModel = ExceptionHandling::None;
        ~~~~~~~ ^
/home/edward-san/zdoom/qzdoom/tools/drawergen/drawergen.cpp:515:20: error: no
      member named 'PreserveAsmComments' in 'llvm::MCTargetOptions'
        options.MCOptions.PreserveAsmComments = true;
        ~~~~~~~~~~~~~~~~~ ^
/home/edward-san/zdoom/qzdoom/tools/drawergen/drawergen.cpp:519:76: error: no
      viable conversion from 'Optional<Reloc::Model>' to 'Reloc::Model'
  ...cpuName, features, options, relocationModel, codeModel, optimizationLevel);
                                 ^~~~~~~~~~~~~~~
/usr/lib/llvm-3.8/include/llvm/Support/TargetRegistry.h:363:36: note: passing
      argument to parameter 'RM' here
                      Reloc::Model RM = Reloc::Default,
                                   ^

dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: GCC/Clang compiling errors with LLVM 3.8

Post by dpJudas » Wed Nov 30, 2016 17:33

Which version of LLVM are you using?

dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: GCC/Clang compiling errors with LLVM 3.8

Post by dpJudas » Wed Nov 30, 2016 17:34

Oops, never mind - topic says so.

dpJudas
Developer
Developer
Posts: 798
Joined: Sat Jul 23, 2016 7:53

Re: GCC/Clang compiling errors with LLVM 3.8

Post by dpJudas » Wed Nov 30, 2016 17:38

Should be working now.

Locked

Return to “Closed Bugs”

Who is online

Users browsing this forum: No registered users and 1 guest