Ran
|
Files
113
|
Run time
5s
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/gccxml/pygccxml/commit/837cc307a">Fix unqualified integral const in default arguments for CastXML CastXML currently doesn't modify integral constant names used in default arguments for functions, it simply uses the same text present in the source file. This causes compilation failures in bindings generated by pyplusplus in case of code such as the following: struct st { static int const DEFAULT = 0; void fun(int arg=DEFAULT); }; In this case, CastXML produces `DEFAULT` as the default value while GCCXML qualifies the name and sets the default value to `st::DEFAULT`. Consequently, pyplusplus refers to the default value as `DEFAULT`, which fails compilation because the name needs to be fully qualified as `st::DEFAULT`. This fix produces the desired qualified output from pygccxml with both GCCXML and CastXML. Change-Id: I</a><a class="double-link" href="https://github.com/gccxml/pygccxml/commit/e22ae5e7e">e22ae5e7e</a>
7970 of 9918 relevant lines covered (80.36%)
0.8 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|