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

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

--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Martin Filla from comment #2)
(In reply to Brooks Davis from comment #3)

The FreeBSD lang/gcc* ports that are for modern enough
* to enable using the likes of, say, gcc14 with
-stdlib=libc++ so that the FreeBSD system libc++ can
be used.

This is important if other code that ends up linked
(dynamic or not) that uses the system's libc++ :
mixing libstdc++ from a lang/gcc* and libc++ from the
system (or a devel/llvm*) does not work in a process
and is not intended to work.

So, I'd suggest figuring out how to include the option
-stdlib=libc++ if you try USE_GCC=yes or otherwise
cause a sufficiently modern lang/gcc* to be used instead
of using system clang (or a devel/llvm* 's clang).

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