boluo888

Results 6 comments of boluo888

i build this folder ![image](https://user-images.githubusercontent.com/18418363/176877461-41b98cc7-d22f-4262-a0fb-2fc9765f2d63.png)

in this folder several .cpp and .h include @erenon

> Why does bazel try to compile cpp files as C? How does your toolchain definition look like? What does aquery say (compile flags)? i try to compile a demo....

[[https://github.com/google/glog/issues/839](url)](https://github.com/google/glog/issues/839) @erenon hi,I have raised this issue

hi,@erenon this is my Minimized example,show error clang-version:15 bazel-version:bazel 4.2.1 os:ubuntu20.04 **WORKSPACE** ``` # //:WORKSPACE load( "@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", ) load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") git_repository( name = "bazel_clang_tidy", commit = "fe56d1f6f6d7c7f0d27b66c15935f8319918c542", remote =...

> I had the same issue. I updated the commit to "783aa523aafb4a6798a538c61e700b6ed27975a7". That issue is gone now. i change the commit,but has the same problem.