[Issue 23725] ImportC fails to parse __asm __volatile on FreeBSD stdatomic.h and fenv.h
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 18 03:55:36 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23725
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ImportC fails to parse |ImportC fails to parse
|__asm __volatile ("pause") |__asm __volatile on FreeBSD
| |stdatomic.h and fenv.h
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The trouble is __GNUCLIKE_ASM is always defined because __GNUC__ is defined.
Turning off __GNUC__ causes a lot of error messages like the system .h files
need to be edited.
__GNUCLIKE_ASM turns on use of the inline assembler.
--
More information about the Digitalmars-d-bugs
mailing list