Skip to content

Fix placement of alignas() specifier#186

Merged
djwatson merged 2 commits intolibunwind:masterfrom
sdmaclea:alignasOrder
Jun 18, 2020
Merged

Fix placement of alignas() specifier#186
djwatson merged 2 commits intolibunwind:masterfrom
sdmaclea:alignasOrder

Conversation

@sdmaclea
Copy link
Contributor

The alignment specifier must appear before the typename

i.e. clang9 refuses to compile

uint8_t alignas(MAX_ALIGN) __reserved[128];

but accepts

alignas(MAX_ALIGN) uint8_t __reserved[128];

sdmaclea added 2 commits June 11, 2020 15:07
The alignment specifier must appear before the typename

i.e. clang9 refused to compile

uint8_t alignas(MAX_ALIGN) __reserved[128];

but accepted

alignas(MAX_ALIGN) uint8_t __reserved[128];
sdmaclea added a commit to sdmaclea/runtime that referenced this pull request Jun 11, 2020
sdmaclea added a commit to dotnet/runtime that referenced this pull request Jun 18, 2020
* Libunwind v1.5-rc1-28-g9165d2a1

Pull upstream libunwind which supports building on Windows

* Alignas and typos libunwind/libunwind#186
* Update libunwind-version.txt

* Add libunwind to cross DAC

* Colocate Unix/Windows compiler config
* Unify Windows/Unix configure.cmake
@djwatson djwatson merged commit 809c48e into libunwind:master Jun 18, 2020
@djwatson
Copy link
Member

merged, thanks.

sdmaclea added a commit to sdmaclea/coreclr that referenced this pull request Jun 25, 2020
Libunwind 1.5rc2 again (dotnet/runtime#36988)

* Add arm64 support for UNWIND_CONTEXT_IS_UCONTEXT_T==0

* Reapply libunwind 1.5rc2

* Fix Linux Alpine libunwind1.5rc2

Add libunwind to cross DAC (dotnet/runtime#37521)

* Libunwind v1.5-rc1-28-g9165d2a1

Pull upstream libunwind which supports building on Windows

* Alignas and typos libunwind/libunwind#186
* Update libunwind-version.txt

* Add libunwind to cross DAC

* Colocate Unix/Windows compiler config
* Unify Windows/Unix configure.cmake
sdmaclea added a commit to sdmaclea/coreclr that referenced this pull request Jun 25, 2020
Libunwind 1.5rc2 again (dotnet/runtime#36988)

* Add arm64 support for UNWIND_CONTEXT_IS_UCONTEXT_T==0

* Reapply libunwind 1.5rc2

* Fix Linux Alpine libunwind1.5rc2

Add libunwind to cross DAC (dotnet/runtime#37521)

* Libunwind v1.5-rc1-28-g9165d2a1

Pull upstream libunwind which supports building on Windows

* Alignas and typos libunwind/libunwind#186
* Update libunwind-version.txt

* Add libunwind to cross DAC

* Colocate Unix/Windows compiler config
* Unify Windows/Unix configure.cmake
@sdmaclea sdmaclea deleted the alignasOrder branch June 10, 2021 00:38
@yarda
Copy link

yarda commented Oct 10, 2022

It seems it broke C++98 code, e.g. roc-toolkit (roc-streaming/roc-toolkit#481). Is libunwind C++11 only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants