mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2025-08-28 10:13:55 +02:00
Page:
Clang
Pages
256 Color Mode
3D Driver Issues
AFD
AMD64
ARM
ARM64
ARM64EC Toolchain
Acknowledgements
Android
Apps That Support Wine
Bottling Standards
Bug Triage
Bugs
Building Biarch Wine On Ubuntu
Building Wine
Buildroot
CentOS RHEL
Clang
Clean Room Guidelines
Cmd Conformance Tests
Code Coverage
Code Hygiene
Code In
Commands
Compatibility
Conformance Tests
Copy Protection
Create Fonts
Create Icons
Cygwin and More
DOSBox
Debian Ubuntu
Debug Channels
Debugging Hints
Designers
Developer FAQ
Developer Hints
Developers
DirectDraw
DirectPlay Games
DirectX D3DX9
Disassembly
Distributed build with icecream
Distrobox development environment
Documentation
Download
Emulation
FAQ
Fedora
Forum Posting Guidelines
Forums
FreeBSD
Gcc
Gecko
Git Wine Tutorial
Guest Unit Tests
Haiku
Hardware
Hurd
IRC
Importance of Wine
Known Issues
Licensing
MIDI
MacOS Building
MacOS FAQ
MacOS
Mageia
Make Test Failures
Man Pages
Multiarch
News
OpenSUSE
Ospp Summer Code
Outreachy
Packaging
Performance
Pop! os
Portable Wine
Preloader Page Zero Problem
Previous Summers of Code
Project Organization
Public Relations
Regression Testing
Reverse Regression Testing
Sound
Source Code
Source Tree Structure
Stable Rules
Static Analysis
Submitting Patches
Summer Of Code
Third Party Applications
Translating
Uniscribe
Usage Statistics
Useful Registry Keys
Vim Tips
Web Design Tasks
Who's Who
Wine Developer's Guide
Wine Features
Wine History
Wine ICU
Wine Installation and Configuration
Wine Mono
Wine Status
Wine TestBot VMs
Wine TestBot
Wine User's Guide
Wine and Valgrind
WineConf
WineGUI
Winelib User's Guide
Winelib
Winetricks
Winezeug
Writers
home
No results
3
Clang
Alexandre Julliard edited this page 2024-09-17 14:03:05 +02:00
Table of Contents
Clang is a compiler front end for the C, C++, and Objective-C programming languages, using the Low Level Virtual Machine (LLVM) as its back end. The goal is to offer a replacement to the GNU Compiler Collection (GCC) software stack.
To compile wine with Clang, use:
#!/bin/bash
export CC=clang
export CXX=clang
./configure
make
Current Status
Using Wine 1.8 and Clang 3.7.0, the Wine code was built successfully. As Clang is developing fast, it's recommended to use new releases.
Known bugs
Bug | Wine bug url | clang bug url |
---|---|---|
Can't build wine in 64-bit mode | n/a | https://llvm.org/bugs/show_bug.cgi?id=8851 (resolved fixed) |
Clang doesn't support ms_hook_prologue | n/a | https://llvm.org/bugs/show_bug.cgi?id=10212 |
Dragonegg fails to compile loader/preloader.c | #28050 | https://llvm.org/bugs/show_bug.cgi?id=11173 (resolved fixed) |
Static analyzer bugs
- static analyzer + wine = Assertion `Loc.isMacroID() && "Not a macro expansion loc!"' failed (1/3)
- static analyzer + wine = 'Assertion `T->isIntegerType() || Loc::isLocType(T)' failed' (2/3)
- static analyzer + wine = 'Assertion `isa(Val) && "cast() argument of incompatible type!' (3/3)