[all-commits] [llvm/llvm-project] 592243: [Clang][Cygwin] Fix symbol visibility definition (...

Mateusz Mikuła via All-commits all-commits at lists.llvm.org
Fri May 2 01:01:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 592243c1cb3ea53b34033132a87b0d14af9d1079
      https://github.com/llvm/llvm-project/commit/592243c1cb3ea53b34033132a87b0d14af9d1079
  Author: Mateusz Mikuła <oss at mateuszmikula.dev>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M clang/include/clang/Support/Compiler.h

  Log Message:
  -----------
  [Clang][Cygwin] Fix symbol visibility definition (#138118)

Currently building for Cygwin hits this error:
```
In file included from /h/projects/llvm-project/clang/lib/Basic/Attributes.cpp:17:
/h/projects/llvm-project/clang/include/clang/Basic/ParsedAttrInfo.h:180:73: error: invalid declarator before ‘;’ token
  180 | extern template class CLANG_TEMPLATE_ABI Registry<clang::ParsedAttrInfo>;
```
That's because `CLANG_TEMPLATE_ABI` ends up not being defined. The
solution here is to follow MinGW case.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list