Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtags-compile-file: unknown option: --driver-mode=g++ #1347

Closed
Dushistov opened this issue Oct 12, 2019 · 2 comments
Closed

rtags-compile-file: unknown option: --driver-mode=g++ #1347

Dushistov opened this issue Oct 12, 2019 · 2 comments
Labels

Comments

@Dushistov
Copy link
Contributor

@Dushistov Dushistov commented Oct 12, 2019

Describe the bug

After update rtags from 6289e66 to f2633f5 rtags-compile-file doesn't work anymore.
For unknown reason it append --driver-mode=g++ to command line of compiler,
but my default compiler is g++ and it doesn't support this option,
compile_commands.json obviously doesn't contain this option, my build will be failed with option.

Environment (please complete the following information):

  • OS/Version: Arch Linux / x86_64
  • Emacs: 26.3
  • LLVM/Clang: 9.0.0
@Dushistov

This comment has been minimized.

Copy link
Contributor Author

@Dushistov Dushistov commented Oct 12, 2019

Seems it is related to clang 9.0.0. Event previously working 6289e66 still add --driver-mode=g++

@cslux cslux added the clang label Oct 12, 2019
ddanilov added a commit to ddanilov/rtags that referenced this issue Jan 6, 2020
by blacklisting "--driver-mode=" command line argument
cslux added a commit that referenced this issue Jan 6, 2020
Clang 9: fix for #1347
@cslux

This comment has been minimized.

Copy link
Collaborator

@cslux cslux commented Jan 6, 2020

Should be fixed with PR #1366.

@cslux cslux closed this Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.