error: no member named 'OPT_ffixed_line_length_EQ' in namespace 'clang::driver::options'
Closed this issue · 2 comments
dmikushin commented
With release_15x and -DLLVM_ENABLE_CLASSIC_FLANG=ON
I get the following build error:
classic-flang-llvm-project | /classic-flang-llvm-project/src/classic-flang-llvm-project/flang/lib/Frontend/CompilerInvocation.cpp:348:51: error: no member named 'OPT_ffixed_line_length_EQ' in namespace 'clang::driver::options'; did you mean 'OPT_ffixed_line_length_VALUE'?
classic-flang-llvm-project | args.getLastArg(clang::driver::options::OPT_ffixed_line_length_EQ)) {
classic-flang-llvm-project | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
classic-flang-llvm-project | OPT_ffixed_line_length_VALUE
classic-flang-llvm-project | /classic-flang-llvm-project/build/tools/clang/include/clang/Driver/Options.inc:1080:1: note: 'OPT_ffixed_line_length_VALUE' declared here
classic-flang-llvm-project | OPTION(prefix_1, &"-ffixed-line-length-"[1], ffixed_line_length_VALUE, Joined, gfortran_Group, INVALID, nullptr, FC1Option | FlangOption | FlangOnlyOption, 0,
classic-flang-llvm-project | ^
classic-flang-llvm-project | /classic-flang-llvm-project/src/classic-flang-llvm-project/llvm/../clang/include/clang/Driver/Options.h:47:3: note: expanded from macro 'OPTION'
classic-flang-llvm-project | OPT_##ID,
classic-flang-llvm-project | ^
classic-flang-llvm-project | <scratch space>:90:1: note: expanded from here
classic-flang-llvm-project | OPT_ffixed_line_length_VALUE
classic-flang-llvm-project | ^
classic-flang-llvm-project | /classic-flang-llvm-project/src/classic-flang-llvm-project/flang/lib/Frontend/CompilerInvocation.cpp:382:44: error: no member named 'OPT_flogical_abbreviations' in namespace 'clang::driver::options'
classic-flang-llvm-project | args.hasFlag(clang::driver::options::OPT_flogical_abbreviations,
classic-flang-llvm-project | ~~~~~~~~~~~~~~~~~~~~~~~~^
classic-flang-llvm-project | /classic-flang-llvm-project/src/classic-flang-llvm-project/flang/lib/Frontend/CompilerInvocation.cpp:383:35: error: no member named 'OPT_fno_logical_abbreviations' in namespace 'clang::driver::options'
classic-flang-llvm-project | clang::driver::options::OPT_fno_logical_abbreviations, false));
classic-flang-llvm-project | ~~~~~~~~~~~~~~~~~~~~~~~~^
classic-flang-llvm-project | /classic-flang-llvm-project/src/classic-flang-llvm-project/flang/lib/Frontend/CompilerInvocation.cpp:387:44: error: no member named 'OPT_fxor_operator' in namespace 'clang::driver::options'
classic-flang-llvm-project | args.hasFlag(clang::driver::options::OPT_fxor_operator,
classic-flang-llvm-project | ~~~~~~~~~~~~~~~~~~~~~~~~^
classic-flang-llvm-project | /classic-flang-llvm-project/src/classic-flang-llvm-project/flang/lib/Frontend/CompilerInvocation.cpp:388:35: error: no member named 'OPT_fno_xor_operator' in namespace 'clang::driver::options'
classic-flang-llvm-project | clang::driver::options::OPT_fno_xor_operator, false));
classic-flang-llvm-project | ~~~~~~~~~~~~~~~~~~~~~~~~^
classic-flang-llvm-project | 5 errors generated.
dmikushin commented
As I understand, it means that patches for classic Flang are breaking the in-tree Flang. You basically leave in-tree Flang in broken state in favor of classic Flang. I'm amazed at who could even come up with such an idea.
bryanpkc commented
Classic Flang cannot co-exist with LLVM Flang.