scan-build is unhappy with python3.5-dev (3.5.0~rc1-1): error: _Atomic cannot be applied to incomplete type 'void'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.5 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I use Clang's scan-build to do static analysis on my Python3 C extensions during their Debian package build.
Now that Python 3.5rc1 has hit Wily, this is failing when building against Python 3.5.
But it wasn't failing against 3.5b4, still isn't failing against 3.4.3.
No changes were made in my C code in the mean time, so I'm pretty sure I'm not to blame :P
Full build log is here:
And here's the interesting excerpt:
+ DEGU_INSTRUMENT
scan-build: Using '/usr/lib/
running build_ext
building 'degu._base' extension
/usr/share/
In file included from degu/_base.c:24:
In file included from degu/_base.h:24:
In file included from /usr/include/
/usr/include/
_Atomic void *_value;
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: python3.5-dev 3.5.0~rc1-1
ProcVersionSign
Uname: Linux 4.1.0-3-generic x86_64
NonfreeKernelMo
ApportVersion: 2.18-0ubuntu6
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Aug 13 13:33:19 2015
SourcePackage: python3.5
UpgradeStatus: No upgrade log present (probably fresh install)
Hmm, interestingly this scan-build error is only happening when I instrument the build with asan, ubsan.
Although that still doesn't totally explain it as it works fine when building against 3.4.3.