• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gccxml / pygccxml / 377
82%
develop: 92%

Build:
Build:
LAST BUILD BRANCH: pythons
DEFAULT BRANCH: develop
Ran 23 Mar 2016 06:40PM UTC
Jobs 4
Files 114
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
377

push

travis-ci

iMichka
Fix unqualified integral const in default arguments for CastXML

CastXML, prior to XML output versin 1.137, didn't modify integral
constant names used in default arguments for functions, it simply used
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 produced `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.

As of XML output version 1.137, CastXML now produces fully qualified
names for default arguments.

Change-Id: Ie22ae5e7e

Cherry-picked from the develop branch

42 of 42 new or added lines in 2 files covered. (100.0%)

8101 of 10067 relevant lines covered (80.47%)

3.21 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
100.0
unittests/patcher_tester.py
Jobs
ID Job ID Ran Files Coverage
1 377.1 23 Mar 2016 06:44PM UTC 0
80.39
Travis Job 377.1
2 377.2 23 Mar 2016 06:41PM UTC 0
80.35
Travis Job 377.2
3 377.3 23 Mar 2016 06:40PM UTC 0
80.53
Travis Job 377.3
5 377.5 23 Mar 2016 06:45PM UTC 0
80.53
Travis Job 377.5
Source Files on build 377
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #377
  • 9dcc730a on github
  • Prev Build on hotfix/v1.7.3 (#374)
  • Next Build on hotfix/v1.7.3 (#380)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc