Dear there,

 

Since 
https://repo.or.cz/tinycc.git/commit/587e1f5598f2b0c35c7772bde486d47aa9a0cbbc, 

this is observed by my test, using my personal mod of MinGW-w64 

headers (https://github.com/lifenjoiner/MinGW-w64-tcc).

 

error:

 

`error: string constant expected`

 

One example from `_mingw.h`:

 

```

#include <stdio.h>

 

void __cdecl __debugbreak(void)

{

  __asm__ __volatile__("int {$}3":);

}

 

int main() {

    printf("1\n");

    return 0;

}

```

 

There are much more inline assembly in:

https://github.com/mirror/mingw-w64/blob/master/mingw-w64-headers/include/psdk_inc/intrin-impl.h

 

 

Best Regards,

YX Hao

 

Attachment: test_inline_asm.c
Description: Binary data

Attachment: Broken inline assembly syntax.md
Description: Binary data

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to