[Bug 284438] devel/llvm18: -march=x86-64 -fms-compatibility - "error: expected ';' at end of declaration list"

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Jan 2025 22:33:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284438

Brooks Davis <brooks@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|brooks@FreeBSD.org          |toolchain@FreeBSD.org

--- Comment #1 from Brooks Davis <brooks@FreeBSD.org> ---
The output shows the base system compiler being used so this isn't an llvm port
bug.

https://clang.llvm.org/docs/MSVCCompatibility.html seems to suggest that
-fms-compatability is for targeting windows so I'm not sure what's its doing or
supposed to be doing here.

As best as I can tell, something in this odd set of compiler flags is causing
sys/cdefs.h to not be included leading to the __aligned() macro being
undefined, but it could be something is breaking the implementation of the
macro instead.  You'll probably need to examine preprocessor output to find
out.

-- 
You are receiving this mail because:
You are the assignee for the bug.