Gisle Vanem <gva...@yahoo.no> added the comment:

I will add to this issue my *only* compile problem I had using clang-cl ver 9. 
It has an issue with parsing the `frame_t` structure in Modules/_tracemalloc.c:

Modules/_tracemalloc.c(64,11): error: declaration of anonymous struct must be a 
definition
  typedef struct
          ^
Modules/_tracemalloc.c(64,3): warning: typedef requires a name 
[-Wmissing-declarations]
  typedef struct
  ^~~~~~~
Modules/_tracemalloc.c(77,11): warning: #pragma pack(pop, ...) failed: stack 
empty [-Wignored-pragmas]
  #pragma pack(pop)
          ^
Modules/_tracemalloc.c(110,5): error: unknown type name 'frame_t'
    frame_t frames[1];
    ^
------------------

I commented on and suggested a fix for _tracemalloc.c here:
https://github.com/python/cpython/commit/8d59eb1b66c51b2b918da9881c57d07d08df43b7#r36794938

----------
nosy: +gvanem
type: enhancement -> compile error
versions: +Python 3.9 -Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33351>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to