Skip to content

Commit 8c439da

Browse files
heitbaumjmvalin
authored andcommitted
Extended asm with C operands doesn’t work at top level
fix the following test in the meson.build stderr: testfile.c:6:34: error: expected ')' before '::' token 6 |__asm__ (""::) | ~ ^~ | ) testfile.c:6:37: error: expected ';' at end of input 6 |__asm__ (""::) | ^ | ; ----------- Checking if "compiler supports gcc-style inline assembly" compiles: NO refer: - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41045 Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com> Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
1 parent 49d4eff commit 8c439da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ if not opt_asm.disabled()
227227
#error GCC before 3.4 has critical bugs compiling inline assembly
228228
#endif
229229
#endif
230-
__asm__ (""::)''',
230+
int main(int argc, char ** argv) { __asm__ (""::); }''',
231231
name : 'compiler supports gcc-style inline assembly')
232232

233233
opus_conf.set('OPUS_ARM_INLINE_ASM', 1)

0 commit comments

Comments
 (0)