Menu

#6 Checking influence of “llvm-config” on building the software

v1.0 (example)
open
nobody
None
5
2018-02-25
2018-02-25
No

The following software is installed on my openSUSE Tumbleweed system.

  • GCC 7-2.9
  • llvm5-devel 5.0.1-4.3

I stumble on the following situation.

elfring@Sonne:~/Projekte/Smatch/lokal> make -j4

     CC       sparse-llvm.o
cc: error: unrecognized command line option -Wstring-conversion; did you mean -Wint-conversion?

The questionable parameter is provided by the command “llvm-config --cflags.

Another try succeeds then.

elfring@Sonne:~/Projekte/Smatch/lokal> make CC=clang sparse-llvm.o

33 warnings generated.
elfring@Sonne:~/Projekte/Smatch/lokal> make -j4

     LINK     smatch

Should the collaboration with the mentioned configuration tool be improved anyhow?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB