You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For inline assembly we typically use unified syntax to be as compiler-agnostic as possible. GCC still uses disjoint (i.e., pre-unified) syntax by default for history reasons. This could make compilation units using unified syntax fail to compile.
Suggest A Solution
GCC has the command line flag -masm-syntax-unified to switch to unified syntax. This flag shall be used by default, e.g., by adding it into cdefault.yml.
The text was updated successfully, but these errors were encountered:
Describe The Problem To Be Solved
For inline assembly we typically use unified syntax to be as compiler-agnostic as possible. GCC still uses disjoint (i.e., pre-unified) syntax by default for history reasons. This could make compilation units using unified syntax fail to compile.
Suggest A Solution
GCC has the command line flag
-masm-syntax-unified
to switch to unified syntax. This flag shall be used by default, e.g., by adding it intocdefault.yml
.The text was updated successfully, but these errors were encountered: