Questions tagged [clang]

The tag has no usage guidance.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
0 answers
1k views

Change compile flags for Homebrew

We're building a large C++ application on OS X Yosemite 10.10. This application relies on a number of third-party libraries which we install using Homebrew prior to building our application. Our ...
François Beaune's user avatar
2 votes
0 answers
342 views

Custom-defined type highlighting in Sublime Text

I am looking for a configuration/combination of plugins + clang (or any other parser) that can allow sublime text to highlight all custom defined types just like it highlights native types such as int,...
niko's user avatar
  • 409
1 vote
0 answers
667 views

Clang disable Case Sensitive header file inclusion

In Linux when invoking clang compiler with clang++ with Command for the code, main.cpp: #include "Sample.h" int main() { return 0; } include/sample.h # HEADER FILE IMPLEMENTATION ...
Veno's user avatar
  • 119
1 vote
0 answers
202 views

OpenMP with Clang in Visual Studio

I am trying to get access to version 4.0 of OpenMP. In order to do that I used the Visual Studio installer to get Clang, which is supposed to have support for OpenMP. However, when I try to build my ...
JHadamard's user avatar
1 vote
0 answers
759 views

clang on cygwin fails to produce executable from C++ source

I'm trying to use clang on cygwin to compile C++ files but the executable it produces fails to run. I get runtime failures from cygwin: Cygwin runtime failure: a.exe: Invalid relocation. Offset ...
it3q's user avatar
  • 11
1 vote
0 answers
219 views

What does "selecting 'python-clang-3.8' for regex 'clang-3.8'" mean?

I'm working on a Raspberry Pi 3. The device uses Raspbian, which is Debian derivative. I'm trying to install Clang 3.8 because Clang 3.7 appears to lack proper sanitizer support. When I run the ...
jww's user avatar
  • 12.1k
1 vote
1 answer
2k views

How to update the Clang compiler from version 3.1 to version 3.4 in Debian Linux?

It is as what the question is saying, I am new on Linux. I need the Clang++ compiler update to version 3.4 for the assignment that I need to do. I simply just typed in Terminal sudo apt-get install ...
user3595342's user avatar
1 vote
0 answers
153 views

Sublime TextEditor 2 in Vintage mode completion

I have several problem with my autocompletion which I want to fix: I have completion by Space. I want that when I press Space means I don't want completion I want a space symbol now. I want to choose ...
user14416's user avatar
  • 368
0 votes
0 answers
57 views

How to get the list of vendor/CPU/FPU/ABI/etc. from LLVM CL, and their meaningI?

I got all the "architectures" using this: llc --version It lists the architectures. Then for each architecture, you can get the CPUs and "features" (not sure what "features&...
Lance's user avatar
  • 377
0 votes
0 answers
153 views

How can I determine the compiler which processes a header file?

I want to compile a C/C++ project in an Ubuntu environment. My problem is that at some point it encounters a header file where __stdc_version__ is not defined and since both -Werror and -Wundef are ...
Felix Crazzolara's user avatar
0 votes
0 answers
352 views

Where to find/how to install libclang-*.so.1 on CentOS?

I am trying to find a library of libclang-*.so.1 on centOS, but didn't find it anywhere. I have already installed clang. Any suggestions are welcome.
John M.'s user avatar
  • 143
0 votes
0 answers
451 views

Questions on ungoogled-chromium compile time

I started the ungoogled-chromium install from the aur last night, went to bed, and woke up and it's still only about 3/4 of the way complete. I was expecting it to take awhile, but I did not think it ...
alrob's user avatar
  • 125
0 votes
1 answer
84 views

Linker Issue(s) with Compilation Configuration Settings on Catalina for Building Octave

I am getting linker errors building Octave on OS X 10.15.7 with clang++. E.g. "bsxfun_add(intNDArray<octave_int > const&, intNDArray<octave_int > const&)", referenced ...
dbl001's user avatar
  • 129
0 votes
1 answer
2k views

What version of Clang does Visual Studio 2019 16.1.3 come with?

I've been trying to find out so I can determine what clang-format options are supported or not. However, I cannot find the clang executable anywhere, it is not in the same location in the Community ...
Tyler Shellberg's user avatar
0 votes
0 answers
224 views

Which shell do VS Code extensions use?

here,I got the problem that the same command run in the Windows CMD as run by the clang-tidy extension works for CMD but not in VS Code. Therefore I ask myself if (and if yes, which) another type of ...
bambino307's user avatar
0 votes
0 answers
138 views

How do I install Clang 4.0 or above on Ubuntu 16.04 LTS?

I need to install Clang 3.4 and above on Ubuntu 16.04 LTS, as a prerequisite to this Package that I need to use. Not sure should if I go for the latest Clang version, and if yes, how can I do it for ...
innuendo's user avatar
  • 103
0 votes
0 answers
752 views

Installing Homebrew on OSX 10.9

I am trying to install Homebrew with this commands: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" # Add Homebrews binary path to the front of the $PATH echo 'export ...
MaPi's user avatar
  • 113